gouick/cmd/generateAPI.go

25 lines
375 B
Go
Raw Normal View History

/*
Copyright © 2022 NAME HERE <EMAIL ADDRESS>
*/
package cmd
import (
"fmt"
"github.com/spf13/cobra"
)
// apiCmd represents the api command
var apiCmd = &cobra.Command{
Use: "api",
Short: "Generate Go-Swagger Files and Controllers",
Run: func(cmd *cobra.Command, args []string) {
fmt.Println("api called")
},
}
func init() {
generateCmd.AddCommand(apiCmd)
}