Commands to update various metadata associated to datasets (i.e: Kafka Topic, Elasticsearch Index). The commands for these actions are shown in the table below.
list
remove-description
remove-tags
update-description
update-tags
To set a dataset description, use:
lenses-cli dataset update-description \ --connection="connectionName" \ --name="topicName" \ --description="A Description"
It is also possible to remove the dataset description by supplying the --remove-description flag.
--remove-description
lenses-cli dataset remove-description \ --connection="connectionName" \ --name="topicName"
To set one or multiple dataset tags, use:
lenses-cli dataset update-tags \ --connection="connectionName" \ --name="topicName" \ --tag="tag-1" \ --tag="tag-2" \ --tag="tag-3"
Notice that the --tags parameter is required and should contain a non-empty, space separated list of tags (a tag max length is 255 characters). To delete all the tags associated to a dataset, you can use the remove-tags subcommand:
--tags
lenses-cli dataset remove-tags \ --connection="connectionName" \ --name="topicName"
On this page