Command::before_help
before_help
Section titled “before_help ”Free-form help text for before auto-generated short help (-h
).
Example
Section titled “Example”name = "myprog"before-help = "Some info I'd like to appear before the help info"[args]
name: myprogbefore-help: Some info I'd like to appear before the help infoargs: {}
{ "name": "myprog", "before-help": "Some info I'd like to appear before the help info", "args": {}}
myprog -h
Output
Section titled “Output”Some info I'd like to appear before the help info
Usage: myprog
Options: -h, --help Print help