Closed kopp closed 1 year ago
Yes, this is a frequently requested feature, just requested in the lasted opened issue #32 as well.
I've just added some minimal support in #34 which adds:
help
in subparsersdescription
in subparser groupsThat's basically what argparse allows. I hope this resolves the issue?
New version 0.2.8 is available now on PyPI.
Is it possible to specify some kind of description of the sub-command?
For example in the example I would like to tell the user what
<program> foo start
will do, what<program> foo stop
will do etc.I searched for a parameter to
tap.SubParser
likedescription
but found none. Other "natural" choices where to place such a description were (in my opinion)run_foo_start
here ) (as click does it)TypedArgs
(e.g.FooStartArgs
here )