feat(cli): add/set/remove worker tags (#2266)

* adds CLI commands for add/set/removing worker tags, and respective tests
* adds StringSliceMapVar Flag to convert a string from the CLI to a map[string][]string value
This commit is contained in:
Haotian authored and GitHub committed 2022-08-26 13:37:26 -07:00
1 parent 547e7a5970
commit 17ddc301a8
12 files changed
+825 -4

No files matched your search

+1 -1
View File
@@ -535,7 +535,7 @@ var inputStructs = map[string][]*cmdInfo{
Container: "Scope",
HasName: true,
HasDescription: true,
VersionedActions: []string{"update"},
VersionedActions: []string{"update", "add-worker-tags", "set-worker-tags", "remove-worker-tags"},
},
{
ResourceType: resource.Worker.String(),