Context
init_manifest writes a hardcoded TOML template that does not
reflect OctadConfig::default(). If defaults change in code, the
template diverges silently.
Also: the init subcommand fails if the file already exists, but
provides no --force to overwrite.
What to do
- Rebuild the template from
OctadConfig::default() rather than
hardcoding string values.
- Add
init --force (or init --overwrite) to allow regeneration.
- Add
--name flag to set the project name without post-editing.
Acceptance
Context
init_manifestwrites a hardcoded TOML template that does notreflect
OctadConfig::default(). If defaults change in code, thetemplate diverges silently.
Also: the
initsubcommand fails if the file already exists, butprovides no
--forceto overwrite.What to do
OctadConfig::default()rather thanhardcoding string values.
init --force(orinit --overwrite) to allow regeneration.--nameflag to set the project name without post-editing.Acceptance
--forceregenerates over existing file--name foosets [project].name = "foo"