google / google/python-fire

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

未关闭
#225 18 条评论 12 个 reaction 已指派 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 摘要。