config🔧: Modify the instruction createapp to app

This commit is contained in:
zhangwenjian committed 2022-08-08 18:02:50 +08:00
1 parent 1bea64bb6d
commit ef6b85faec
1 file changed
+2 -2
+2 -2
View File
@@ -13,10 +13,10 @@ import (
var ( var (
appName string appName string
StartCmd = &cobra.Command{ StartCmd = &cobra.Command{
Use: "createapp", Use: "app",
Short: "Create a new app", Short: "Create a new app",
Long: "Use when you need to create a new app", Long: "Use when you need to create a new app",
Example: "go-admin createapp -n admin", Example: "go-admin app -n admin",
Run: func(cmd *cobra.Command, args []string) { Run: func(cmd *cobra.Command, args []string) {
run() run()
}, },