feat: add run subcommand

This commit is contained in:
debugtalk
2021-10-10 14:49:38 +08:00
parent ce06ee09db
commit d490842f25
2 changed files with 41 additions and 7 deletions

View File

@@ -12,14 +12,13 @@ import (
// rootCmd represents the base command when called without any subcommands
var rootCmd = &cobra.Command{
Use: "httpboomer",
Short: "httpboomer = httprunner + boomer",
Long: `HttpBoomer is a golang implementation of HttpRunner.
Ideally, HttpBoomer will be fully compatible with HttpRunner, including testcase format and usage.
What's more, HttpBoomer will integrate Boomer natively to be a better load generator for locust.`,
Short: "One-stop solution for HTTP(S) testing.",
Long: `HttpBoomer is the next generation for HttpRunner. Enjoy! ✨ 🚀 ✨
License: Apache-2.0
Github: https://github.com/httprunner/httpboomer
Copyright 2021 debugtalk`,
Version: httpboomer.VERSION,
// Uncomment the following line if your bare application
// has an action associated with it:
// Run: func(cmd *cobra.Command, args []string) {},
}
// Execute adds all child commands to the root command and sets flags appropriately.