Right now if command has a sub-command (e.g. $ progname command <sub-command> or $ progname <command>) that sub-command is automatically required and not providing any will generate error response on parser.Parse(). This vote is consideration whether sub-commands must be always required, or they do not have to be required (do not generate err on parser.Parse() and instead delegate sub-command require/not-required decision to the developer who uses package.
Right now if command has a sub-command (e.g.
$ progname command <sub-command>
or$ progname <command>
) that sub-command is automatically required and not providing any will generateerror
response onparser.Parse()
. This vote is consideration whether sub-commands must be always required, or they do not have to be required (do not generate err onparser.Parse()
and instead delegate sub-command require/not-required decision to the developer who uses package.Thumbs up - required, thumbs down - not required.