Skip to content

Releases: innot/argparseDecorator

v1.4.0

13 Oct 10:41

Choose a tag to compare

  • added ignore_annotations and ignore_docstring flags to the command decorator

v1.3.1

08 Sep 15:36

Choose a tag to compare

No functional changes, just some minor fixes in the documentation.

v1.3.0

08 Sep 14:04
9f8a150

Choose a tag to compare

  • Added support for command aliases
  • New Annotations: RequiredFlag, RequiredOption
  • Fixed and documented the @add_argument decorator

v1.2.0

16 Aug 16:48

Choose a tag to compare

  • execute() can now optionally accept a list of arguments, e.g. coming from sys.argv

  • execute() now uses the shlex library to split a command line into tokens.

  • Found and fixed numerous small bugs after getting test coverage to 100%

  • Updated documentation

The installable package can be found on pypi to be installed via pip install argparseDecorator

v1.1.0

18 Jul 20:13

Choose a tag to compare

  • Implemented execute_async() method to integrate argparseDecorator into asyncio projects.

  • Added the ssh_cli.py example to show how easily a custom cli ssh server can be implemented, e.g. for remote controlling a RaspberryPi or similar.

The installable package can be found on pypi to be installed via pip install argparseDecorator

v1.0.2

07 Jul 13:47

Choose a tag to compare

Fixed many problems in the documentation.
Added support for quoted arguments in command line input to the execute() method.

v1.0.1 First public release

19 Jun 15:54

Choose a tag to compare

This is the first public release of the argparseDecorator.

Status is "works for me" and it passes all tests without problems.

Feedback is welcome, especially if it works for you as advertised or if you encounter problems.