refactor: commands

This commit is contained in:
debugtalk
2022-01-08 15:10:37 +08:00
parent d3c97800f0
commit 288346bfd8
18 changed files with 45 additions and 27 deletions

13
cli/hrp/main.go Normal file
View File

@@ -0,0 +1,13 @@
package main
import (
"github.com/httprunner/hrp/cli/hrp/cmd"
"github.com/httprunner/hrp/internal/sentry"
)
func main() {
// Flush buffered events before the program terminates.
defer sentry.Flush()
cmd.Execute()
}