google / google/python-fire

[help] Display custom docstring from functions

未关闭
#305 0 条评论 4 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
28.2k
派生
1.5k
PR 合并指标
30 天内没有已合并 PR

描述

Hi. There's a way to use my doc string when running from command line?
This is the default behavior:
```
ERROR: The function received no value for the required argument: uuid
Usage: hc-fail UUID
optional flags: --log | --wait

For detailed information on this command, run:
hc-fail --help
```
I wanna see my doc string help, not the Fire one. This is possible?
i.e.
```
Make a health check fail right away
Parameters
----------
uuid :
uuid from the health check task.
log :
Create a custom log message.
```

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。