src/orion/core/cli/insert.py
def add_subparser(parser):
    """Add the subparser that needs to be used for this command"""
    insert_parser = parser.add_parser(
        "insert", help=SHORT_DESCRIPTION, description=DESCRIPTION
    )

    cli.get_basic_args_group(insert_parser)

    cli.get_user_args_group(insert_parser)

    insert_parser.set_defaults(func=main)
    insert_parser.set_defaults(help_empty=True)  # Print help if command is empty

    return insert_parser
Add the subparser that needs to be used for this command
Add the subparser that needs to be used for this command
Add the subparser that needs to be used for this command
def add_subparser(parser):
    insert_parser = parser.add_parser(
        "insert", help=SHORT_DESCRIPTION, description=DESCRIPTION
    )
    cli.get_basic_args_group(insert_parser)
    cli.get_user_args_group(insert_parser)
    insert_parser.set_defaults(func=main)
    insert_parser.set_defaults(help_empty=True)  
    return insert_parser
def add_subparser ( parser ) : insert_parser = parser . add_parser ( "insert" , help = SHORT_DESCRIPTION , description = DESCRIPTION ) cli . get_basic_args_group ( insert_parser ) cli . get_user_args_group ( insert_parser ) insert_parser . set_defaults ( func = main ) insert_parser . set_defaults ( help_empty = True ) return insert_parser
Add the subparser that needs to be used for this command
Add the subparser that needs to be used for this command
"""Add the subparser that needs to be used for this command""" # Print help if command is empty
parser