datalad.cmdline.main

class datalad.cmdline.main.ArgumentParserDisableAbbrev(prog=None, usage=None, description=None, epilog=None, version=None, parents=[], formatter_class=<class 'argparse.HelpFormatter'>, prefix_chars='-', fromfile_prefix_chars=None, argument_default=None, conflict_handler='error', add_help=True)[source]

Bases: argparse.ArgumentParser

datalad.cmdline.main.add_entrypoints_to_interface_groups(interface_groups)[source]
datalad.cmdline.main.fail_with_short_help(parser=None, msg=None, known=None, provided=None, hint=None, exit_code=1, what='command', out=None)[source]

Generic helper to fail with short help possibly hinting on what was intended if known were provided

datalad.cmdline.main.get_commands_from_groups(groups)[source]

Get a dictionary of command: interface_spec

datalad.cmdline.main.get_description_with_cmd_summary(grp_short_descriptions, interface_groups, parser_description)[source]
datalad.cmdline.main.main(args=None)[source]
datalad.cmdline.main.setup_parser(cmdlineargs, formatter_class=<class 'argparse.RawDescriptionHelpFormatter'>, return_subparsers=False)[source]