Skip to content

Releases: andrewrosss/module-cli

22.4.2

18 Apr 16:12
Compare
Choose a tag to compare
  • Add a small tests suite of e2e tests
  • Add test.yaml as part of CI
  • Minor documentation fixes/changes

22.4.1

17 Apr 04:43
Compare
Choose a tag to compare
  • Update cli function in template, this function now accepts an optional Sequence[str] parameter
  • Add new short script: mcli (essentially an alias of module-cli)
  • Update project description

22.4.0

12 Apr 06:07
Compare
Choose a tag to compare

Template updates:

  • Update main signature from main() -> str to main(args: Sequence[str] | None = None) -> int | str
  • Remove check for handler attribute on namespace
  • Add --debug flag to generated ArgumentParser
  • Update main to catch Exceptions generated by handler, 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-named ns

1.0.0

31 Mar 21:30
Compare
Choose a tag to compare
Bump version: 0.1.0 → 1.0.0