Topic commands are a group of topic operations.
Usage:
clc topic [command] [flags]clc topic publish
Publish new messages for a topic.
Usage:
clc topic publish [values] [flags]Parameters:
| Parameter | Required | Description | Default | 
|---|---|---|---|
| 
 | Optional | Name of the topic. | 
 | 
| 
 | Required | Values to publish. | N/A | 
| 
 | Optional | Data type of the values. One of:  | string | 
Example:
clc topic publish -v string string1 string2 --name topic1clc topic subscribe
Subscribe to a topic for new messages.
Usage:
clc topic subscribe [flags]Parameters:
| Parameter | Required | Description | Default | 
|---|---|---|---|
| 
 | Optional | Name of the topic. | 
 | 
Example:
clc topic subscribe --name topic1clc topic destroy
This command will delete the topic and the data in it will not be available anymore.
Usage:
clc topic destroy [flags]Parameters:
| Parameter | Required | Description | Default | 
|---|---|---|---|
| 
 | Optional | Name of the topic. | 
 | 
| 
 | Optional | Skip confirming the destroy operation. | 
 | 
Example:
clc topic destroy --name topic1 --yes