test cobra

This commit is contained in:
wangchuxiao
2023-03-07 12:12:16 +08:00
parent 6ad93962aa
commit 52d8ec6aee
4 changed files with 68 additions and 5 deletions
+13
View File
@@ -0,0 +1,13 @@
package cmd
import (
"github.com/spf13/cobra"
)
func NewRootCmd() *cobra.Command {
return &cobra.Command{
Use: "start",
Short: "Start the server",
Long: `Start the server`,
}
}