Feat: SDK generating framework (#5431)

This commit is contained in:
qiaozp
2023-02-21 15:54:44 +08:00
committed by GitHub
parent b1fc313519
commit 8ff77c4486
46 changed files with 6701 additions and 728 deletions
+2
View File
@@ -116,6 +116,7 @@ func TestAddonEnableCmdWithErrLocalPath(t *testing.T) {
ioStream := util.IOStreams{}
commandArgs := common.Args{}
cmd := NewAddonEnableCommand(commandArgs, ioStream)
initCommand(cmd)
for _, s := range testcase {
cmd.SetArgs(s.args)
@@ -180,6 +181,7 @@ func TestAddonUpgradeCmdWithErrLocalPath(t *testing.T) {
ioStream := util.IOStreams{}
commandArgs := common.Args{}
cmd := NewAddonUpgradeCommand(commandArgs, ioStream)
initCommand(cmd)
for _, s := range testcase {
cmd.SetArgs(s.args)