g
This commit is contained in:
@@ -4,8 +4,9 @@ import "github.com/spf13/cobra"
|
||||
|
||||
func CommandGen(root *cobra.Command) {
|
||||
cmd := &cobra.Command{
|
||||
Use: "gen",
|
||||
Short: "Generate code",
|
||||
Use: "gen",
|
||||
Short: "Generate code",
|
||||
PersistentPostRunE: commandFmtE,
|
||||
}
|
||||
cmd.PersistentFlags().StringP("config", "c", "config.toml", "database config file")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user