def configure_parser(sub_parsers, name="update"): if name == "update": p = sub_parsers.add_parser("update", description=descr, help=descr, epilog=example % name) else: p = sub_parsers.add_parser(name, description=alias_help, help=alias_help, epilog=example % name) common.add_parser_install(p) common.add_parser_json(p) p.add_argument("--all", action="store_true", help="Update all installed packages in the environment.") p.set_defaults(func=execute)
def configure_parser(sub_parsers): p = sub_parsers.add_parser( 'update', formatter_class = RawDescriptionHelpFormatter, description = descr, help = descr, epilog = example, ) common.add_parser_install(p) p.set_defaults(func=execute)
def configure_parser(sub_parsers): p = sub_parsers.add_parser( 'update', formatter_class=RawDescriptionHelpFormatter, description=descr, help=descr, epilog=example, ) common.add_parser_install(p) p.set_defaults(func=execute)
def configure_parser(sub_parsers): p = sub_parsers.add_parser( 'update', description=descr, help=descr, epilog=example, ) common.add_parser_install(p) common.add_parser_json(p) p.add_argument( "--all", action="store_true", help="Update all installed packages in the environment.", ) p.set_defaults(func=execute)
def configure_parser(sub_parsers): p = sub_parsers.add_parser( 'install', description=descr, help=help, epilog=example, ) p.add_argument( "--revision", action="store", help="Revert to the specified REVISION.", metavar='REVISION', ) common.add_parser_install(p) common.add_parser_json(p) p.set_defaults(func=execute)
def configure_parser(sub_parsers): p = sub_parsers.add_parser( 'install', formatter_class=RawDescriptionHelpFormatter, description=descr, help=help, epilog=example, ) p.add_argument( "--revision", action="store", help="revert to the specified REVISION", metavar='REVISION', ) common.add_parser_install(p) p.set_defaults(func=execute)
def configure_parser(sub_parsers): p = sub_parsers.add_parser( 'create', formatter_class = RawDescriptionHelpFormatter, description = descr, help = help, epilog = example, ) common.add_parser_install(p) p.add_argument( "--clone", action = "store", help = 'path to (or name of) existing local environment', metavar = 'ENV', ) p.add_argument( "--no-default-packages", action = "store_true", help = 'ignore create_default_packages in condarc file', ) p.set_defaults(func=execute)
def configure_parser(sub_parsers): p = sub_parsers.add_parser( 'create', description=descr, help=help, epilog=example, ) common.add_parser_install(p) common.add_parser_json(p) p.add_argument( "--clone", action="store", help='Path to (or name of) existing local environment.', metavar='ENV', ) p.add_argument( "--no-default-packages", action="store_true", help='Ignore create_default_packages in the .condarc file.', ) p.set_defaults(func=execute)
def configure_parser(sub_parsers): p = sub_parsers.add_parser( 'create', formatter_class=RawDescriptionHelpFormatter, description=descr, help=help, epilog=example, ) common.add_parser_install(p) p.add_argument( "--clone", action="store", help='path to (or name of) existing local environment', metavar='ENV', ) p.add_argument( "--no-default-packages", action="store_true", help='ignore create_default_packages in condarc file', ) p.set_defaults(func=execute)
def configure_parser(sub_parsers): p = sub_parsers.add_parser( 'install', description=descr, help=help, epilog=example, ) p.add_argument( "--revision", action="store", help="Revert to the specified REVISION.", metavar='REVISION', ) common.add_parser_install(p) common.add_parser_json(p) if conda_env_installed: p.add_argument( '--save', action='store_true', help='add dependency to environment.yml file', ) p.set_defaults(func=execute)