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