clc set
Set commands are a group of set operations.
Usage:
clc set [command] [flags]clc set clear
Deletes all entries of a set.
Usage:
clc set clear [flags]Parameters:
| Parameter | Required | Description | Default | 
|---|---|---|---|
| 
 | Optional | Name of the set. | 
 | 
| 
 | Optional | Skip confirming the destroy operation. | 
 | 
Example:
clc set clear --name my-setclc set add
Adds values to the given set.
Usage:
clc set add [values] [flags]Parameters:
| Parameter | Required | Description | Default | 
|---|---|---|---|
| 
 | Optional | Name of the set. | 
 | 
| 
 | Optional | Data type of the value. One of:  | string | 
Example:
clc set add 1 2 3 4 --name my-setclc set get-all
List all values in the given set.
Usage:
clc set get-all [flags]Parameters:
| Parameter | Required | Description | Default | 
|---|---|---|---|
| 
 | Optional | Name of the set. | 
 | 
Example:
clc set get-all --name my-setclc set remove
Removes values from the given set.
Usage:
clc set remove [values] [flags]Parameters:
| Parameter | Required | Description | Default | 
|---|---|---|---|
| 
 | Optional | Name of the set. | 
 | 
| 
 | Optional | Data type of the value. One of:  | string | 
Example:
clc set remove 1 2 3 4 --name my-setclc set size
Returns the size of the given set.
Usage:
clc set size [flags]Parameters:
| Parameter | Required | Description | Default | 
|---|---|---|---|
| 
 | Optional | Name of the set. | 
 | 
Example:
clc set size --name my-setclc set destroy
Destroys a set. This command will delete the set and the data in it will not be available anymore.
Usage:
clc set destroy [flags]Parameters:
| Parameter | Required | Description | Default | 
|---|---|---|---|
| 
 | Optional | Name of the set. | 
 | 
| 
 | Optional | Skip confirming the destroy operation. | 
 | 
Example:
clc set destroy --name my-set