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

Hi, since the feature to use flags alias has been added. Is there a way to show the alias on the help page? e.g. something like this: FLAGS --flag, -f=FLAG...

enhancement

Saw short arguments were added in #141, which looks great! I was wondering if it'd be possible to include the short args in help text too? I was thinking something...

I'm starting a list of things people might want to configure in their Fire CLIs - Set a function to always show --help, rather than trying to display the output....

In the help Fire displays commands in alphabetical order. It would be nice to be able to show them in a custom order specified by the user.

enhancement

GNU Make takes -jthreads as arguments, which is a common usage. Is it possible to let fire treat -j8 as -j 8?

enhancement

Hello, ![Capture d’écran 2020-03-02 à 09 56 52](https://user-images.githubusercontent.com/46570624/75660850-9557bd00-5c6c-11ea-8466-6d0cff02ecc8.png) I reuse the introduction example code to illustrate. When you give a list as arg, and into this list there is a...

Hi. There's a way to use my doc string when running from command line? This is the default behavior: ``` ERROR: The function received no value for the required argument:...

If I write a typed variable argument, I am expecting an argument of a specific type. Example: ```python import fire def test(some_str: str): print(some_str) if __name__ == "__main__": fire.Fire() ```...

enhancement

As per #114 the default value for an argument should be visible in the help screen. Some considerations: - If the default value is a simple type and not too...

enhancement

Thanks for creating this amazing library. I'm somewhat confused as to how the `--help` command is implemented. When running `python example.py --help` Fire only prints the flags, not the actual...

bug