python-fire icon indicating copy to clipboard operation
python-fire copied to clipboard

[help] Display custom docstring from functions

Open kerenskybr opened this issue 5 years ago • 0 comments

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

kerenskybr avatar Jan 05 '21 18:01 kerenskybr