Skip to content

hubcli connection use

Specifies the the default connection for hubcli commands.

The command has the following format:

hubcli connection use connection-name [flags]

where:

connection-name
Specifies the name of the connection to make the default.
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.

If you make the specified connection name the default, the default status is removed from any other connection that has it.

You can also make a connection the default when you create it using the hubcli connection add command and specifying the --default flag. See hubcli connection add