module documentation

Supercommand for all gbp commands

Function get_available_commands Undocumented
Function import_command Import the module that implements the given command
Function list_available_commands Undocumented
Function pymod_to_cmd No summary
Function sanitize '-' is not allowed in module names so turn it into an underscore.
Function supercommand Undocumented
Function usage Undocumented
Function version Undocumented
Variable invalid_modules Undocumented
def get_available_commands(path):

Undocumented

def import_command(cmd):

Import the module that implements the given command

def list_available_commands():

Undocumented

def pymod_to_cmd(mod):
>>> pymod_to_cmd('/x/y/z/a_cmd.py')
'a-cmd'
def sanitize(cmd):

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

def supercommand(argv=None):

Undocumented

def usage():

Undocumented

def version(prog):

Undocumented

invalid_modules: list[str] =

Undocumented