My own function description customization looks good this way:
$ gogo build
Build golang application
Usage:
gogo build [Options] Arch(i386|amd64)
Options:
-h, --help
display help information
--dir[=./]
...
But it will have side-effects:
$ gogo
Golang package manager
gogo is a new golang package manager
very very good
Options:
-h, --help
display help information
-v, --version
display version
-l, --list[=false]
list all sub commands or not
Commands:
build Build golang application
Usage:
gogo build [Options] Arch(i386|amd64)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
clean Clean build data
Hope that you can provide a way for user to customize their function descriptions.
Hey again 仕晋,
Any way for user to customize their own function description?
Please take a look at my such customization in demo how to handle none-option parameters,
My own function description customization looks good this way:
But it will have side-effects:
Hope that you can provide a way for user to customize their function descriptions.
Thanks