Class NamespacesLabelAdd
java.lang.Object
ai.wanaku.cli.main.commands.BaseCommand
ai.wanaku.cli.main.commands.namespaces.NamespacesLabelAdd
CLI command for adding labels to existing namespaces.
This command allows you to add one or more labels to a namespace without modifying its other properties. If a label key already exists, its value will be updated.
Usage examples:
# Add a single label wanaku namespaces label add --id namespace-id-here --label env=production # Add multiple labels wanaku namespaces label add --id namespace-id-here -l env=production -l tier=backend -l version=2.0 # Add labels using label expression to select namespaces wanaku namespaces label add --label-expression 'category=internal' --label migrated=true
- 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
-
NamespacesLabelAdd
public NamespacesLabelAdd()
-
-
Method Details
-
doCall
- Specified by:
doCallin classBaseCommand- Throws:
Exception
-