google / google/python-fire

[help] Display custom docstring from functions

Offen
#305 0 Kommentare 4 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Python
Sterne
28.2k
Forks
1.5k
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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.
```

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.