fix:修复createapp未初始化导致无法创建app的问题

This commit is contained in:
Vincent committed 2021-07-15 10:21:26 +08:00
1 parent 4ac3350920
commit cee6bd6abd
1 file changed
+2
+2
View File
@@ -4,6 +4,7 @@ import (
"errors"
"fmt"
"github.com/go-admin-team/go-admin-core/sdk/pkg"
"go-admin/cmd/app"
"go-admin/common/global"
"os"
@@ -45,6 +46,7 @@ func init() {
rootCmd.AddCommand(migrate.StartCmd)
rootCmd.AddCommand(version.StartCmd)
rootCmd.AddCommand(config.StartCmd)
rootCmd.AddCommand(app.StartCmd)
}
//Execute : apply commands