datalad.cmdline.main

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

The holy grail of establishing CLI for DataLad’s Interfaces

Parameters:
  • cmdlineargs
  • formatter_class
  • return_subparsers (bool, optional) – is used ATM only by BuildManPage in _datalad_build_support
  • completing
  • help_ignore_extensions