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 supported2 Subscribers
Add a CodeTriage badge to python-fire
Help out
- Issues
- 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)
- Use Python's logging framework for INFO diagnostic messages (fixes #353)
- Fix completion suggesting --self for class-grouped commands
- Update setuptools requirement from <=80.9.0 to <=82.0.0
- docs: clarify how Fire behaves when called on a class
- Fix #508: Show full type for Optional and generic type annotations in help
- fix: show full Optional[T] type in help instead of just Optional
- Docs
- Python not yet supported