github iterative/shtab v1.3.0
shtab v1.3.0 alpha

latest releases: v1.8.0, v1.7.2, v1.7.1...
5 years ago
  • ๐Ÿ”จ fix bash missing custom complete functionality (add_argument().complete = ...)
  • ๐Ÿ”จ fix subcommand completion & update examples/customcomplete.py
  • ๐ŸŽ‰ add shtab.add_argument_to(parser, option_string) (#18)
    • option: adds your_cli_app [--print-completion={bash,zsh}]
    • subcommand: adds your_cli_app completion [{bash,zsh}]
    • handles the print(shtab.complete(parser, shell)) & exit(0) logic too
  • ๐ŸŽ‰ expose SUPPORTED_SHELLS
  • ๐Ÿ“– add & update documentation
  • ๐Ÿ” add tests
  • ๐Ÿงน misc tidy

Don't miss a new shtab release

NewReleases is sending notifications on new releases.