Class DataStoresLabelRemove
java.lang.Object
ai.wanaku.cli.main.commands.BaseCommand
ai.wanaku.cli.main.commands.datastores.DataStoresLabelRemove
CLI command for removing labels from existing data stores.
This command allows you to remove one or more labels from a data store without modifying its other properties. If a label key doesn't exist, it will be silently ignored.
Usage examples:
# Remove a single label by ID wanaku datastores label remove --id abc123 --label env # Remove multiple labels wanaku datastores label remove --id abc123 -l env -l tier -l version # Remove labels from data stores matching a label expression wanaku datastores label remove --label-expression 'status=deprecated' --label temporary
- See Also:
-
Field Summary
FieldsFields inherited from class ai.wanaku.cli.main.commands.BaseCommand
authTokenOverride, EXIT_ERROR, EXIT_OK, noAuth -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoCall(org.jline.terminal.Terminal terminal, WanakuPrinter printer) Methods inherited from class ai.wanaku.cli.main.commands.BaseCommand
call, initAuthenticatedService, initService, initService
-
Field Details
-
host
-
-
Constructor Details
-
DataStoresLabelRemove
public DataStoresLabelRemove()
-
-
Method Details
-
doCall
- Specified by:
doCallin classBaseCommand- Throws:
Exception
-