python-fire
python-fire copied to clipboard
Python Fire is a library for automatically generating command line interfaces (CLIs) from absolutely any Python object.
feature request: tell fire to stop parsing argument and pass the remaining unparsed args to function
**Feature Description** I am working on a tool to wrap some existed command line tools to make them easier to use (like auto install, inject argument automatically, etc). And I...
Closes https://github.com/google/python-fire/issues/338
a common idiom in cli is to have a flag (usually --, but this is taken here) that all text afterwards is passed as is (mostly for passing to other...
A function with `Field` parameter wrapped by `pydantic.validate_arguments`, can not been exeuted from the command line. ```py from datetime import datetime from pydantic import Field, validate_arguments @validate_arguments() def foo(dt: datetime...
## Background Hi, I just come into a case that need to allow user to override some default value of a json configuration. The configuration is a nested dict and...
Gracias _Originally posted by @WilmarE in https://github.com/google/omaha/issues/679#issuecomment-1951442297_
Are there any plans for dropping Python 2 support? Python 2 is EOL and dropping support for it would ease maintenance and reduce complexity.
this would potentially close #448 Please review.
As discussed in https://github.com/google/python-fire/pull/428#issuecomment-1413497193 adding a closure job would allow enabling automerge without need of updating branch protection checks when new Python version is added
Implement https://github.com/google/python-fire/issues/403