Class NamespacesLabelRemove

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

public class NamespacesLabelRemove extends BaseCommand
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 Details

    • host

      protected String host
  • Constructor Details

    • NamespacesLabelRemove

      public NamespacesLabelRemove()
  • Method Details