β Removes preexec_fn from pager subprocess call. Resolves #236.
python -m fire <module>π Bug fixes
If you're new to Python Fire:
π± 1. Welcome! π
e.g. You can call Fire on a function, as in this example (but you can also call Fire on anything else: classes, objects, dicts, etc. -- they all work.)
def hello(name="World"):
return "Hello %s!" % name
fire.Fire(hello)
hello.py --name=David # Hello David!
pip install fire to get started.
__str__ method on an object, that will be used to serialize the object when it is the final result of a Fire command. This means better support for numpy arrays, and better support for custom types.command -h or command --help will give help, provided there isn't an argument named help in your component.-flag instead of --flag if preferred. Both work.alpha, then you can specify its value with -a.π Improvements
command argument now accepts either a sequence of arguments or a single string.command argument only accepted a string.π New Features
π Bug Fixes