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/cmd/root.go Normal file
View File

@@ -0,0 +1,15 @@
package cmd
import (
"github.com/spf13/cobra"
)
var RootCmd = &cobra.Command{
Use: "crawlab",
Short: "Crawlab CLI tool",
Long: `Command line interface for Crawlab, the distributed web crawler admin platform`,
}
func init() {
RootCmd.AddCommand(protoCmd)
}