hubcli group list¶
Lists all groups.
The command has the following format:
hubcli group list [flags]
- flags
- One or more optional flags that provide additional control over execution of the command.
The following flags are available:
-c stringor--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 usecommand. --createdAfter time- Lists only groups created after the specified time.
--createdBefore time- Lists only groups created before the specified time.
--debug- Enables debug logging.
--external- Lists only external groups; that is, groups imported from LDAP.
-hor--help- Returns help information for this command.
--json- Returns the list of group properties in JSON format.
-l intor--limit int- Lists only the number of groups specified by int. By default 100 are listed. Counting begins from the first listed group.
--local- Lists only local groups; that is, those groups created using Altair SLC Hub and not imported from LDAP.
--modifiedAfter time- Lists only groups modified after the specified time.
--modifiedBefore time- Lists only groups modified before the specified time.
-o intor--offset int- Skips the number of groups specified by int at the beginning of the returned list.
For example, if there are 200 groups and int is set to 100,
then the first 100 groups are skipped and only the remaining groups are listed.
The sort order of the list is set before the offset takes effect;
therefore the list returned is the offset of the sorted list.
The list is ordered by default by the modification time, or by the setting of the
--sortflag. -ror--relativeTimes- Display times in the returned list as relative rather than absolute.
--sort order- Specifies the order for the list. order can be set to:
nameSort by name. createdSort by creation time. modifiedSort by modification time.
Note: ls is an alias of list.