google / google/python-fire

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

Aperta
#225 18 commenti 12 reazioni 0 assegnatari Vedi su GitHub
bug
Lingua principale
Python
Stelle
28.2k
Fork
1.5k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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? :)

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.