Skip to content

hubcli group get

Returns the properties of a specified group.

The command has the following format:

hubcli group get [flags] groupname

flags
One or more optional flags that provide additional control over execution of the command.
groupname
The name for the group for which you want information.

The following flags are available:

-c string or --connection string
Specifies the name of the connection to use. If you do not specify this option, then the default connection is used. If there is no default connection, then you must specify a connection. The first connection created for the Altair SLC Hub instance is set by default as the default Altair SLC Hub instance, but a different default connection can be set using the hubcli connection use command.
--debug
Enables debug logging.
-h or --help
Returns help information for this command.
--json
Returns the list of group properties in JSON format.

Examples

Running hubcli group get HubUsers returns:

 Group Details
 Name  HubUsers
 ID    ad5a5c72-404d-4662-a1d5-580f94002fc5

Running hubcli group get HubUsers --json returns:

{"_id":"ad5a5c72-404d-4662-a1d5-580f94002fc5","name":"HubUsers"}