feat: add wiki sub-command to open httprunner website

This commit is contained in:
debugtalk
2022-05-22 15:23:53 +08:00
parent 4863b96ec3
commit 63a2dff53b
7 changed files with 52 additions and 3 deletions

View File

@@ -11,9 +11,10 @@ import (
)
var scaffoldCmd = &cobra.Command{
Use: "startproject $project_name",
Short: "create a scaffold project",
Args: cobra.ExactValidArgs(1),
Use: "startproject $project_name",
Aliases: []string{"scaffold"},
Short: "create a scaffold project",
Args: cobra.ExactValidArgs(1),
PreRun: func(cmd *cobra.Command, args []string) {
setLogLevel(logLevel)
},