Argparsedecorator

Latest version: v1.4.0

Safety actively analyzes 685507 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

1.4.0

- added ``ignore_annotations`` and ``ignore_docstring`` flags to the command decorator

1.3.1

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

1.3.0

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

1.2.0

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

- execute() now uses the [shlex](https://docs.python.org/3/library/shlex.html) 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](https://pypi.org/project/ArgParseDecorator/) to be installed via `pip install argparseDecorator`

1.1.0

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

- Added the [ssh_cli.py](https://github.com/innot/argparseDecorator/blob/master/examples/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](https://pypi.org/project/ArgParseDecorator/) to be installed via `pip install argparseDecorator`

1.0.2

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

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.