Get a list of all valid commands when writing --help
未關閉
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? :)
貢獻指南
研究方向
首先,使用提到的 example.py 指令重現該行為,並追蹤 Python Fire 如何處理 --help 和命令探索。確定預期的說明輸出,以及預設行為是否需要文件說明;當有效命令與旗標一併列出,或清楚記錄預期的限制時,即表示完成。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- python
- 領域
- cli
- Issue 類型
- 功能
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100