### Description

The three commands:

```
              airflow users export /opt/airflow/dags/users.json &&
              airflow variables export /opt/airflow/dags/variables.json &&
              airflow connections export /opt/airflow/dags/connections.json
```

give back:

```
7 users successfully exported to /opt/airflow/dags/users.json
36 variables successfully exported to /opt/airflow/dags/variables.json
Connections successfully exported to /opt/airflow/dags/connections.json.
```


### Use case/motivation

Standardise output of "airflow connections export" to those of "airflow variables export" and "airflow users export"

### Related issues

_No response_

### Are you willing to submit a PR?

- [ ] Yes I am willing to submit a PR!

### Code of Conduct

- [X] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)

"""List all connections at the command line."""
    with create_session() as session:
        query = select(Connection)
        if args.conn_id:
            query = query.where(Connection.conn_id == args.conn_id)
        query = session.scalars(query)
        conns = query.all()
        AirflowConsole().print_as(
            data=conns,
            output=args.output,
            mapper=_connection_mapper,
        )
def _connection_to_dict(conn: Connection) -> dict:
    return {
        "conn_type": conn.conn_type,
        "description": conn.description,
        "login": conn.login,
        "password": conn.password,
        "host": conn.host,
        "port": conn.port,
        "schema": conn.schema,
        "extra": conn.extra,
    }
def create_default_connections(args):