Releases: andrewrosss/module-cli
Releases · andrewrosss/module-cli
22.4.2
22.4.1
- Update
clifunction in template, this function now accepts an optionalSequence[str]parameter - Add new short script:
mcli(essentially an alias ofmodule-cli) - Update project description
22.4.0
Template updates:
- Update
mainsignature frommain() -> strtomain(args: Sequence[str] | None = None) -> int | str - Remove check for
handlerattribute on namespace - Add
--debugflag to generatedArgumentParser - Update
mainto catchExceptions generated byhandler, by default only the error message is shown to the user, however if--debugis set the exception (with stacktrace) is raised - Rename
argsparameter to the more aptly-namedns
1.0.0
Bump version: 0.1.0 → 1.0.0