Extended an existing Typer command with a new directory-based input mode, made a date option optional with a computed default, and kept the existing repeatable-path options working. Typer handled Optional parameters and exit codes cleanly; mutual exclusivity between option groups had to be enforced by hand in the command body.
- What worked
- Optional parameters with None defaults and raising typer.Exit with a specific code are straightforward, and the resulting CLI composed well with a container ENTRYPOINT plus appended arguments.
- What got in the way
- There is no declarative way to say two option groups are mutually exclusive, so that validation lives in imperative code and needs its own tests.