python-fire icon indicating copy to clipboard operation
python-fire copied to clipboard

Python Fire is a library for automatically generating command line interfaces (CLIs) from absolutely any Python object.

Results 197 python-fire issues
Sort by recently updated
recently updated
newest added

This allows to tell fire what types are expected by type hints (fixes #300, also see #327 and #260 ) and not change current behaviour by making it optional decorator.

cla: yes

`fire` can complete ~90% of the CLI needs for my application. However, the help documentation is only available during runtime in my case. Is there some way of getting access...

question

When requesting help output all available flags are being cast to upper case. This makes it difficult if not impossible for users of the wrapper methods the exact case needed...

Hello, and thank you for this great CLI! Recently I get to a situation when I would like to restrict the options for a given argument similar to build-in `argparse`...

enhancement

### Example code (example.py): ```python import fire class Foo: def bar(self): return 'bar' def do_stuff(self, arg1): return 'stuff' if __name__ == '__main__': fire.Fire(Foo) ``` ### Run: `python3 example.py -- --completion`...

bug

It would be nice to add a logging level option as a default option for all methods. An ideal implementation would be like a decorator for a function: when a...

enhancement

Hi team, It seems that currently `fire` cannot return dataframe from function or method calls. I would to like make a contribution to this and create a PR if this...

bug

Hey, I am using a class like: ``` class Foo: def __init__(self, name): self.name=name @property def info(self): return self.name def do_somthing(self, arg1): return do_it(arg1) if __name__ == '__main__': fire.Fire(Foo) ```...

Hello, this project is pretty nifty! I was just reaching out because I was wondering if anyone here knows of any Python libraries that do the opposite of python-fire (python...