Skip to content

hubcli role get

Returns the properties of a specified role.

The command has the following format:

hubcli role get [flags] rolenameint

flags
One or more flags for the command that provide additional control over execution.
rolename
The name of the role for which information is returned.

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 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 properties of the role in JSON format.
--yaml
Returns the properties of the role in yaml format.