Skip to content

hubcli connection list

Lists the configured connections.

The command has the following format:

hubcli connection list [flags]

where:

flags
One or more optional flags that provide additional control over execution of the command.

The following flags are available:

--debug
Enables debug logging.
-h or --help
Returns help information for this command.
--json
Returns the list in JSON format.

Note: ls is an alias of list.

Available connections

The information about the available connections using this command is:

  NAME        URL                            SCOPE  DEFAULT
  newHub      http://newHub:9090             User   *
  production  http://example.prodhub:9090    User
  staging     http://example.testhub:9090    User
The NAME is specified when a hub connection is required to other hubcli commands using the -c flag. If no connection name is specified, the default connection is used. That connection is identified by an asterisk (*) in the DEFAULT column.