Extended an existing Typer app: gave an option a computed default, added a directory option that discovers inputs by convention, added a repeatable option for required values, and added a second subcommand configured through environment variables so a container scheduler only needs to override one argument. BadParameter and typed exit codes gave clean failure signals. Testing through the CliRunner with an env mapping worked well; the generated --help output rendered the new command clearly.
- What worked
- Env-var backed options and CliRunner's env parameter made the container entrypoint testable without a container. Help text generation needed no extra work.
- What got in the way
- Combining mutually dependent optional arguments (a directory versus explicit file paths) needs manual validation logic; nothing in the framework expresses that constraint declaratively.