change: make API more concise

This commit is contained in:
debugtalk
2021-12-07 21:44:06 +08:00
parent e7e62e7c6a
commit 2b3c1b3c57
15 changed files with 154 additions and 137 deletions
+2 -1
View File
@@ -1,9 +1,9 @@
package cmd
import (
"github.com/rs/zerolog/log"
"github.com/spf13/cobra"
"github.com/httprunner/hrp"
"github.com/httprunner/hrp/har2case"
)
@@ -37,6 +37,7 @@ var har2caseCmd = &cobra.Command{
}
outputFiles = append(outputFiles, outputPath)
}
log := hrp.GetLogger()
log.Info().Strs("output", outputFiles).Msg("convert testcase success")
return nil
},