Repository: apache/airflow
File: airflow-ctl/src/airflowctl/ctl/cli_config.py (Python)

Code before:
        func=lazy_load_command("airflowctl.ctl.commands.auth_command.login"),
        args=(ARG_AUTH_URL, ARG_AUTH_TOKEN, ARG_AUTH_ENVIRONMENT, ARG_AUTH_USERNAME, ARG_AUTH_PASSWORD),
    ),
)

CONFIG_COMMANDS = (
    ActionCommand(
        name="lint",
        help="Lint options for the configuration changes while migrating from Airflow 2 to Airflow 3",
        description="Lint options for the configuration changes while migrating from Airflow 2 to Airflow 3",
        func=lazy_load_command("airflowctl.ctl.commands.config_command.lint"),
        args=(
            ARG_CONFIG_SECTION,
            ARG_CONFIG_OPTION,
            ARG_CONFIG_IGNORE_SECTION,
            ARG_CONFIG_IGNORE_OPTION,
            ARG_CONFIG_VERBOSE,
        ),
    ),
)

CONNECTION_COMMANDS = (
    ActionCommand(
        name="import",
        help="Import connections from a file. "
        "Export functionality is only available via the local Airflow CLI command 'airflow connections export'. "
        "Export it from local Airflow CLI and import it securely via this command.",
        func=lazy_load_command("airflowctl.ctl.commands.connection_command.import_"),
        args=(Arg(flags=("file",), metavar="FILEPATH", help="Connections JSON file"),),
    ),
)

DAG_COMMANDS = (
    ActionCommand(
        name="pause",
        help="Pause a Dag",
        func=lazy_load_command("airflowctl.ctl.commands.dag_command.pause"),
        args=(
            ARG_DAG_ID,
            ARG_OUTPUT,
        ),
    ),
    ActionCommand(
        name="unpause",
        help="Unpause a Dag",
        func=lazy_load_command("airflowctl.ctl.commands.dag_command.unpause"),
        args=(
            ARG_DAG_ID,
            ARG_OUTPUT,
        ),
    ),

Review comment (suggestion):
This seems a bit long (see the screenshot). I think it should be much shorter ("Import connections from a file exported with local CLI.") 

Code after:
        func=lazy_load_command("airflowctl.ctl.commands.auth_command.login"),
        args=(ARG_AUTH_URL, ARG_AUTH_TOKEN, ARG_AUTH_ENVIRONMENT, ARG_AUTH_USERNAME, ARG_AUTH_PASSWORD),
    ),
)

CONFIG_COMMANDS = (
    ActionCommand(
        name="lint",
        help="Lint options for the configuration changes while migrating from Airflow 2 to Airflow 3",
        description="Lint options for the configuration changes while migrating from Airflow 2 to Airflow 3",
        func=lazy_load_command("airflowctl.ctl.commands.config_command.lint"),
        args=(
            ARG_CONFIG_SECTION,
            ARG_CONFIG_OPTION,
            ARG_CONFIG_IGNORE_SECTION,
            ARG_CONFIG_IGNORE_OPTION,
            ARG_CONFIG_VERBOSE,
        ),
    ),
)

CONNECTION_COMMANDS = (
    ActionCommand(
        name="import",
        help="Import connections from a file exported with local CLI.",
        func=lazy_load_command("airflowctl.ctl.commands.connection_command.import_"),
        args=(Arg(flags=("file",), metavar="FILEPATH", help="Connections JSON file"),),
    ),
)

DAG_COMMANDS = (
    ActionCommand(
        name="pause",
        help="Pause a Dag",
        func=lazy_load_command("airflowctl.ctl.commands.dag_command.pause"),
        args=(
            ARG_DAG_ID,
            ARG_OUTPUT,
        ),
    ),
    ActionCommand(
        name="unpause",
        help="Unpause a Dag",
        func=lazy_load_command("airflowctl.ctl.commands.dag_command.unpause"),
        args=(
            ARG_DAG_ID,
            ARG_OUTPUT,
        ),
    ),
)