paul j3 <[email protected]> added the comment:

An existing parser can be included in a new subparser via the 'parents' 
mechanism.  With that the _actions and groups of the parent are copied (by 
reference) to the new subparser.

There are some rough edges to the parents mechanism, but people have used it to 
add a common subset of arguments to all subparsers.

----------

_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue42622>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to