Class ToolsLabelRemove
java.lang.Object
ai.wanaku.cli.main.commands.BaseCommand
ai.wanaku.cli.main.commands.tools.ToolsLabelRemove
CLI command for removing labels from existing tools.
This command allows you to remove one or more labels from a tool without modifying its other properties. If a label key doesn't exist, it will be silently ignored.
Usage examples:
# Remove a single label wanaku tools label remove --name my-tool --label env # Remove multiple labels wanaku tools label remove --name my-tool -l env -l tier -l version # Remove labels from tools matching a label expression wanaku tools label remove --label-expression 'status=deprecated' --label temporary
- 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
-
ToolsLabelRemove
public ToolsLabelRemove()
-
-
Method Details
-
doCall
- Specified by:
doCallin classBaseCommand- Throws:
Exception
-