mirror of
https://github.com/httprunner/httprunner.git
synced 2026-06-07 08:49:37 +08:00
refactor: commands
This commit is contained in:
13
cli/hrp/main.go
Normal file
13
cli/hrp/main.go
Normal 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()
|
||||
}
|
||||
Reference in New Issue
Block a user