python-fire
python-fire copied to clipboard
Python Fire is a library for automatically generating command line interfaces (CLIs) from absolutely any Python object.
When running `widget -- --completion` you can't control the depth variable. Currently it's set to 3 by default and you cant change it using the CLI.
```python import fire class Calculator(object): def add(self, x, y): return x + y def multiply(self, x, y): return x * y def _sub(self, x, y):# Privite method return x -y...
I'm trying to find a way to disable the additional output that the fire library creates that comes after the process completes. It begins with NAME and includes SYNOPSIS. I...
When running `--help` against a program like the following, I expect a single `my_func` command but instead I get `my_func`, `fire`, `logging`, `GREETING_MSG`, and `logger`. I would like to be...
Hello, I have been using Fire for a while now and in the last few days, it struck me that it may be nice to have a way to read...
I know a similar issue has been mentioned in #222 (which should have been labelled as Duplicated rather than a misleadingly Closed) , #226, and its root cause was well-explained...
I'm trying to create a CLI which consists of several command groups. Commands within the command group share some common flags. In my example that is e.g. the `--namespace` flag...
I'm using the [latest version](https://github.com/google/python-fire/commit/024fbad9424cfdb0d3c93c86c856aedbac0f9d48) of Fire as of now and was wondering if it's possible to display a multiline docstring in help instead of concatenating it to one line....
The only examples I saw of calling more than one function at a time through the terminal with `fire` involved chaining functions. I would want each function I call to...
Function signatures containing typing information should also show this in the help screen. For instance, I would expect the `--help` screen for `def main(arg1: str, arg2=False):` to indicate arg1 is...