Supercommand for all gbp commands

Variable invalid_modules Undocumented
Function sanitize '-' is not allowed in module names so turn it into an underscore.
Function usage Undocumented
Function version Undocumented
Function import_command Import the module that implements the given command
Function pymod_to_cmd
>>> pymod_to_cmd('/x/y/z/a_cmd.py') 'a-cmd'
Function get_available_commands Undocumented
Function list_available_commands Undocumented
Function supercommand Undocumented
invalid_modules =
Undocumented
(type: List[str])
def sanitize(cmd):

'-' is not allowed in module names so turn it into an underscore.

def usage():
Undocumented
def version(prog):
Undocumented
def import_command(cmd):

Import the module that implements the given command

def pymod_to_cmd(mod):
>>> pymod_to_cmd('/x/y/z/a_cmd.py')
'a-cmd'
def get_available_commands(path):
Undocumented
def list_available_commands():
Undocumented
def supercommand(argv=None):
Undocumented
API Documentation for git-buildpackage, generated by pydoctor at 2021-02-01 08:15:22.