fix:修复createapp未初始化导致无法创建app的问题
This commit is contained in:
1 parent
4ac3350920
commit
cee6bd6abd
1 file changed
+2
@@ -4,6 +4,7 @@ import (
|
|||||||
"errors"
|
"errors"
|
||||||
"fmt"
|
"fmt"
|
||||||
"github.com/go-admin-team/go-admin-core/sdk/pkg"
|
"github.com/go-admin-team/go-admin-core/sdk/pkg"
|
||||||
|
"go-admin/cmd/app"
|
||||||
"go-admin/common/global"
|
"go-admin/common/global"
|
||||||
"os"
|
"os"
|
||||||
|
|
||||||
@@ -45,6 +46,7 @@ func init() {
|
|||||||
rootCmd.AddCommand(migrate.StartCmd)
|
rootCmd.AddCommand(migrate.StartCmd)
|
||||||
rootCmd.AddCommand(version.StartCmd)
|
rootCmd.AddCommand(version.StartCmd)
|
||||||
rootCmd.AddCommand(config.StartCmd)
|
rootCmd.AddCommand(config.StartCmd)
|
||||||
|
rootCmd.AddCommand(app.StartCmd)
|
||||||
}
|
}
|
||||||
|
|
||||||
//Execute : apply commands
|
//Execute : apply commands
|
||||||
|
|||||||
Reference in new issue
Block a user