def METHOD_NAME(funcdict, argv=None, **parserkw):
    """
    :param funcdict: a function or a nested dictionary of functions
    :param argv: a list of command-line arguments (if None, use sys.argv[1:])
    :param parserkw: arguments accepted by argparse.ArgumentParser
    """
    return _run(parser(funcdict, **parserkw), argv)