gouick/cmd/generateDB.go
2022-07-15 11:49:53 +00:00

25 lines
382 B
Go

/*
Copyright © 2022 NAME HERE <EMAIL ADDRESS>
*/
package cmd
import (
"fmt"
"github.com/spf13/cobra"
)
// dbCmd represents the db command
var dbCmd = &cobra.Command{
Use: "db",
Short: "Generate Database Struct from pkg/dbmodels/schema.yaml",
Run: func(cmd *cobra.Command, args []string) {
fmt.Println("db called")
},
}
func init() {
generateCmd.AddCommand(dbCmd)
}