google / google/python-fire

Get a list of all valid commands when writing --help

Open
#225 18 comments 12 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
28.2k
Forks
1.5k
PR merge metrics
No merged PRs in 30d

Description

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 commands that can be run (see example below):

```
NAME
fury.py

SYNOPSIS
fury.py

FLAGS
--verbosity=VERBOSITY
```

How do I make `--help` show all the possible commands and why is that not the default? :)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.