Class ResourcesLabelAdd

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

public class ResourcesLabelAdd extends BaseCommand
CLI command for adding labels to existing resources.

This command allows you to add one or more labels to a resource without modifying its other properties. If a label key already exists, its value will be updated.

Usage examples:

 # Add a single label
 wanaku resources label add --name my-resource --label env=production

 # Add multiple labels
 wanaku resources label add --name my-resource -l env=production -l tier=backend -l version=2.0

 # Add labels using label expression to select resources
 wanaku resources label add --label-expression 'category=data' --label migrated=true
 
See Also: