google / python-fire

Python Fire is a library for automatically generating command line interfaces (CLIs) from absolutely any Python object.
Other
26.98k stars 1.44k forks source link

How can i write custom text in --help / -h? #413

Closed woidzero closed 7 months ago

woidzero commented 1 year ago

Is there a way to write custom text in --help / -h option like this?

help = """
custom help text
"""

or

def help():
    print("custom help text")
gaardhus commented 1 year ago

See #412