I am currently writing a wrapper for git in python that allows to run certain git commands in multiple git repos. Now, I'd like to support all possible git commands, and I'd like to do it in the following way: I'd like argparse to only parse global options and the sub-command; everything that comes after the sub-command (which is a git-command) I'd just like to pass as-is to git.
Is this possible with argparse?
Example:
Passed on to git as-is
vvvvv
mgit -t add -p .
^^^^^^^^^^^
Parsed by argparse