Releases: andrewrosss/module-cli
Releases · andrewrosss/module-cli
22.4.2
22.4.1
- Update
cli
function 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
main
signature frommain() -> str
tomain(args: Sequence[str] | None = None) -> int | str
- Remove check for
handler
attribute on namespace - Add
--debug
flag to generatedArgumentParser
- Update
main
to catchException
s generated byhandler
, by default only the error message is shown to the user, however if--debug
is set the exception (with stacktrace) is raised - Rename
args
parameter to the more aptly-namedns
1.0.0
Bump version: 0.1.0 → 1.0.0