Class NamespacesLabelRemove
java.lang.Object
ai.wanaku.cli.main.commands.BaseCommand
ai.wanaku.cli.main.commands.namespaces.NamespacesLabelRemove
CLI command for removing labels from existing namespaces.
This command allows you to remove one or more labels from a namespace without affecting its other properties. Labels that don't exist are silently ignored.
Usage examples:
# Remove a single label wanaku namespaces label remove --id namespace-id-here --label env # Remove multiple labels wanaku namespaces label remove --id namespace-id-here -l env -l tier -l version # Remove labels from namespaces matching label expression wanaku namespaces label remove --label-expression 'category=internal' --label temp
- 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
-
NamespacesLabelRemove
public NamespacesLabelRemove()
-
-
Method Details
-
doCall
- Specified by:
doCallin classBaseCommand- Throws:
Exception
-