feat : added version & config

This commit is contained in:
zhangwenjian committed 2020-08-01 11:00:06 +08:00
1 parent 1a580366fc
commit 309be41b05
5 files changed
+106 -7

No files matched your search

+2 -1
View File
@@ -17,7 +17,8 @@ var (
mode string
StartCmd = &cobra.Command{
Use: "init",
Short: "initialize the database",
Short: "Initialize the database",
Example: "go-admin init -c config/settings.yml",
Run: func(cmd *cobra.Command, args []string) {
run()
},