def configure_parser(sub_parsers): p = sub_parsers.add_parser('info', description = help, help = help) common.add_parser_json(p) els_group = p.add_mutually_exclusive_group() els_group.add_argument( '-a', "--all", action = "store_true", help = "show all information, (environments, license, and system " "information.") els_group.add_argument( '-e', "--envs", action = "store_true", help = "list all known conda environments.", ) els_group.add_argument( "--license", action = "store_true", help = "display information about local conda licenses list", ) els_group.add_argument( '-s', "--system", action = "store_true", help = "list PATH and PYTHONPATH environments for debugging purposes", ) p.set_defaults(func=execute)
def configure_parser(sub_parsers): p = sub_parsers.add_parser( 'share', formatter_class = RawDescriptionHelpFormatter, description = descr, help = descr, ) common.add_parser_prefix(p) common.add_parser_json(p) p.set_defaults(func=execute)
def configure_parser(sub_parsers): p = sub_parsers.add_parser( 'clone', formatter_class = RawDescriptionHelpFormatter, description = descr, help = descr, ) p.add_argument( 'path', metavar = 'PATH', action = "store", nargs = 1, help = 'path to "share package"', ) common.add_parser_prefix(p) common.add_parser_json(p) p.set_defaults(func=execute)