Closed mark-summerfield closed 1 year ago
AFAIK you can hide the option via adding DISABLEDDESCRIPTIONWILLNOTSHOWUP
(referenced here)
Here's an example I use to hide a position in --help
:
var fileName *string = parser.StringPositional(&argparse.Options{Help: "DISABLEDDESCRIPTIONWILLNOTSHOWUP"})
Thank you.
I want a cli like this:
myapp -f --long option name1 name2 name3
where -f is a flag and --long is a string arg and the names are positionals. When I use:It accepts at most 1 file & there is no StringListPositional() function. Also the positional is shown as an option, e.g.,
[_positionalArg_clc_8 "<value>"]