Argparsedecorator

Latest version: v1.2.0

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

Scan your dependencies

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.

1.0.1

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.

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.