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
- Preserve defaults for positional-only parameters
- Skip members that raise when listing them for help
- Release 0.7.2?
- refactor(parser): Remove deprecated ast.Str fallback for Python 3.8+ compatibility
- Fix testFileNameFire on Windows: NamedTemporaryFile can't be reopened while open
- Test suite fails on Windows: unescaped path regex in testArgPassing, NamedTemporaryFile reopen in testFileNameFire
- Fix: In fire/parser.py's _LiteralEval, the AST walk replaces bare ast.Name...
- Clean up legacy Python <3.8 ast.Str deprecation in parser.py
- Keep '#' in unquoted CLI values instead of treating it as a comment
- fix(main): use package name instead of __main__.py in usage output
- Docs
- Python not yet supported