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

    cli.get_basic_args_group(status_parser)

    status_parser.add_argument(
        "-a",
        "--all",
        action="store_true",
        help="Show all trials line by line. Otherwise, they are all aggregated by status",
    )

    status_parser.add_argument(
        "-C",
        "--collapse",
        action="store_true",
        help=(
            "Aggregate together results of all child experiments. Otherwise they are all "
            "printed hierarchically"
        ),
    )

    status_parser.add_argument(
        "-e",
        "--expand-versions",
        action="store_true",
        help=(
            "Show all the version of every experiments instead of only the latest one"
        ),
    )

    status_parser.set_defaults(func=main)

    return status_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):
    status_parser = parser.add_parser(
        "status", help=SHORT_DESCRIPTION, description=DESCRIPTION
    )
    cli.get_basic_args_group(status_parser)
    status_parser.add_argument(
        "-a",
        "--all",
        action="store_true",
        help="Show all trials line by line. Otherwise, they are all aggregated by status",
    )
    status_parser.add_argument(
        "-C",
        "--collapse",
        action="store_true",
        help=(
            "Aggregate together results of all child experiments. Otherwise they are all "
            "printed hierarchically"
        ),
    )
    status_parser.add_argument(
        "-e",
        "--expand-versions",
        action="store_true",
        help=(
            "Show all the version of every experiments instead of only the latest one"
        ),
    )
    status_parser.set_defaults(func=main)
    return status_parser
def add_subparser ( parser ) : status_parser = parser . add_parser ( "status" , help = SHORT_DESCRIPTION , description = DESCRIPTION ) cli . get_basic_args_group ( status_parser ) status_parser . add_argument ( "-a" , "--all" , action = "store_true" , help = "Show all trials line by line. Otherwise, they are all aggregated by status" , ) status_parser . add_argument ( "-C" , "--collapse" , action = "store_true" , help = ( "Aggregate together results of all child experiments. Otherwise they are all " "printed hierarchically" ) , ) status_parser . add_argument ( "-e" , "--expand-versions" , action = "store_true" , help = ( "Show all the version of every experiments instead of only the latest one" ) , ) status_parser . set_defaults ( func = main ) return status_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"""
parser