feat: added utils cli

This commit is contained in:
Marvin Zhang
2024-11-20 15:47:30 +08:00
parent 18f3a8e264
commit db6a379095
7 changed files with 151 additions and 2 deletions

15
cli/main.go Normal file
View File

@@ -0,0 +1,15 @@
package main
import (
"fmt"
"os"
"github.com/crawlab-team/crawlab/cli/cmd"
)
func main() {
if err := cmd.RootCmd.Execute(); err != nil {
fmt.Println(err)
os.Exit(1)
}
}