~brenns10/subc

subc/CHANGELOG.md -rw-r--r-- 1.3 KiB
12881154Stephen Brennan Release v0.7.1 a month ago

#Changelog

#Unreleased

#0.7.1

  • Include a copy of the Revised BSD license in the repo.

#0.7.0

  • Allow user-provided aliases instead of shortest prefix aliases.

#0.6.0

  • A "not breaking" but kinda still big change: Command subclasses may supply a "help" attribute which is passed to the help argument of add_parser(). If it is not provided, then the class's description attribute is used. This means that the -h output of the tool should provide a listing of subcommands, one per line, with a description (taken from the help kwarg) of that subcommand.

#0.5.0

  • Use some dark magic to hide the shortest prefix matches from the help output, and also hide them from argcomplete.

#0.4.1

  • Add py.typed file, because apparently I can't just have type annotations in my library in order to make things work with mypy.
  • Change my perfectly fine 200 line module to a package, because apparently I can't have a module-only distribution, and also make things work with mypy.

#0.4.0

  • Added: shortest prefix matching
  • Note: added tests too!

#0.3.0

  • Added: support default commands

#0.2.0

  • Added: main() helper function
  • Added: support intermediate subclasses

#0.1.0

  • Initial commit of bare-bones subc library