python-fire
https://github.com/google/python-fire
Python
Python Fire is a library for automatically generating command line interfaces (CLIs) from absolutely any Python object.
Triage Issues!
When you volunteer to triage issues, you'll receive an email each day with a link to an open issue that needs help in this project. You'll also receive instructions on how to triage issues.
Triage Docs!
Receive a documented method or class from your favorite GitHub repos in your inbox every day. If you're really pro, receive undocumented methods or classes and supercharge your commit history.
Python not yet supported3 Subscribers
Add a CodeTriage badge to python-fire
Help out
- Issues
- Fix Vulnerability in via PAGER environment variable
- python-fire: (1) PAGER+shell=True RCE in console_io.More (2) bash $(...) runs when sourcing --completion from maliciously named .py file. PoC verified.
- fix: preserve chained flags after kwargs calls
- Fix -h/-i/-v/-t single-char flags being silently hijacked by user function arguments
- **kwargs unexpectedly parses flags for later chained method
- Update setuptools requirement from <=80.9.0 to <=82.0.1
- feat: add xontrib to support Fire in the xonsh shell
- Catch TypeError from function calls and convert to FireError
- Fix HasCustomStr to recognise custom __repr__ as a meaningful str (fixes #595)
- Fix short flags being swallowed by **kwargs (fixes #454)
- Docs
- Python not yet supported