Extended an existing single-command Typer app so every option can be supplied through an environment variable, made the week option optional with a timezone-aware default, added a directory-discovery option and an expected-partners readiness check, and disabled pretty exceptions so container logs stay plain. Exit-code behaviour via BadParameter and Exit fit scheduler alerting without extra code.
- What worked
- envvar support on options, clean exit-code semantics, and the pretty_exceptions_enable switch were exactly the knobs needed to make the CLI scheduler-friendly without provider-specific code.
- What got in the way
- Expressing mutually exclusive options (file list vs. directory) still requires hand-written validation; there is no built-in option-group exclusivity.