mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-24 16:03:43 +08:00
Merge pull request #11812 from rainzm/agent/batch
feat(devtool): support batch applying for virtual machines
This commit is contained in:
@@ -24,6 +24,7 @@ func init() {
|
||||
cmd := shell.NewResourceCmd(&modules.DevToolScripts).WithKeyword("devtool-script")
|
||||
cmd.List(new(options.ScriptListOptions))
|
||||
cmd.Perform("apply", new(options.ScriptApplyOptions))
|
||||
cmd.Perform("batch-apply", new(options.ScriptBatchApplyOptions))
|
||||
cmd1 := shell.NewResourceCmd(&modules.DevToolScriptApplyRecords).WithKeyword("devtool-script-record")
|
||||
cmd1.List(new(options.ScriptApplyRecordListOptions))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user