google / google/python-fire

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

オープン
#225 コメント 18 件 リアクション 12 件 担当者 0 名 GitHub で見る
bug
主要言語
Python
スター
28.2k
フォーク
1.5k
PR マージ指標
30日以内にマージされた PR はありません

説明

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

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。