Class NamespacesLabelAdd

java.lang.Object
ai.wanaku.cli.main.commands.BaseCommand
ai.wanaku.cli.main.commands.namespaces.NamespacesLabelAdd
All Implemented Interfaces:
Callable<Integer>

public class NamespacesLabelAdd extends BaseCommand
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: