feat: gen markdown docs for command

This commit is contained in:
debugtalk
2021-10-11 15:34:41 +08:00
parent 939652fb50
commit 69e01373d3
11 changed files with 147 additions and 21 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ var cpuProfile string
var cpuProfileDuration time.Duration
func init() {
rootCmd.AddCommand(boomCmd)
RootCmd.AddCommand(boomCmd)
boomCmd.Flags().Int64Var(&maxRPS, "max-rps", 0, "Max RPS that boomer can generate, disabled by default.")
boomCmd.Flags().StringVar(&requestIncreaseRate, "request-increase-rate", "-1", "Request increase rate, disabled by default.")