feat: print ios devices

This commit is contained in:
debugtalk
2022-10-01 14:48:29 +08:00
parent ed3d4c4f0d
commit a3b0eaf1c5
3 changed files with 149 additions and 0 deletions

View File

@@ -9,6 +9,7 @@ import (
"github.com/rs/zerolog/log"
"github.com/spf13/cobra"
"github.com/httprunner/httprunner/v4/hrp/cmd/ios"
"github.com/httprunner/httprunner/v4/hrp/internal/version"
)
@@ -59,6 +60,7 @@ func Execute() {
rootCmd.PersistentFlags().BoolVar(&logJSON, "log-json", false, "set log to json format")
rootCmd.PersistentFlags().StringVar(&venv, "venv", "", "specify python3 venv path")
ios.Init(rootCmd)
if err := rootCmd.Execute(); err != nil {
os.Exit(1)
}