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:
1 parent
547e7a5970
commit
17ddc301a8
12 files changed
+825
-4
No files matched your search
@@ -810,7 +810,13 @@ var inputStructs = []*structInfo{
|
||||
PostType: "worker_generated_auth_token",
|
||||
},
|
||||
},
|
||||
pluralResourceName: "workers",
|
||||
pluralResourceName: "workers",
|
||||
sliceSubtypes: map[string]sliceSubtypeInfo{
|
||||
"WorkerTags": {
|
||||
SliceType: "map[string][]string",
|
||||
VarName: "apiTags",
|
||||
},
|
||||
},
|
||||
createResponseTypes: true,
|
||||
recursiveListing: true,
|
||||
versionEnabled: true,
|
||||
|
||||
Reference in new issue
Block a user