Skip to content

0.1.0

Compare
Choose a tag to compare
@andrewrosss andrewrosss released this 24 May 04:26
· 35 commits to master since this release
  • Make sure to always initialize a root index parser (if one doesn't already exist) so that multicommand.create_parser(...) always returns a useable ArgumentParser (instead of raising an exception).

    This way multicommand.create_parser(...) can be called on a package that has no parsers, and will still behave sensibly.

  • Check that found parsers are actually (sub-classes of) ArgumentParser, skip them if they aren't.

  • Fix bug in _requires_subparsers

  • Improve help for subcommands