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

I would like to propose adding a Docker image to the project. It will be easier for contributors and users to set up and run the project since they won't...

Refers to #43 Sample usage: ```python import fire class Example(object): def alpha(self): return 'alpha' def Alpha(self): return 'Alpha' def Beta(self): return 'Beta' if __name__=='__main__': fire.Fire(Example) ``` ``` $ python test.py...

Suppose we want a CLI that is similar to `git` in the sense that we must first call `init` before interacting with the repo. For this, we aim for the...

I get this warning: ``` .venv/lib/python3.11/site-packages/fire/core.py:59 DeprecationWarning: 'pipes' is deprecated and slated for removal in Python 3.13 import pipes ``` Can you please remove pipes? See https://docs.python.org/3/library/pipes.html#:~:text=Deprecated%20since%20version%203.11%2C%20will%20be%20removed%20in%20version%203.13%3A%20The%20pipes%20module%20is%20deprecated%20(see%20PEP%20594%20for%20details).%20Please%20use%20the%20subprocess%20module%20instead. for more infos....

When I build a class with methods that can be chained (they return `self`), I find that the "commands" help message is written out even when I provide commands with...

When using Numpydoc docstring style with multiple positional arguments the help text gets misaligned ``` import fire def run(executable, argument): """Run. Parameters ---------- executable : Executable to run argument :...

I'm a big fan of Python Fire, it's been a huge help in building my projects. I have a small improvement request: I noticed that when I don't pass any...

Hi! I package this project for Arch Linux. I noticed, that all test files are installed when installing this package. Although the test files should be part of an sdist...

Closes #76 Old behaviour: ``` SYNOPSIS __main__.py ARGS ``` New behaviour: ``` SYNOPSIS '/usr/bin/python -m sample' ARGS ```