feat: print ios devices

This commit is contained in:
debugtalk
2022-10-01 14:48:29 +08:00
parent a6e568e73b
commit bfc7a49669
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)
}