bottin-ag/cmd/api.go

24 lines
356 B
Go
Raw Normal View History

2023-09-15 13:14:43 -04:00
/*
Copyright © 2023 AGECEM & Victor Lacasse-Beaudoin
*/
package cmd
import (
"fmt"
"github.com/spf13/cobra"
)
// apiCmd represents the api command
var apiCmd = &cobra.Command{
Use: "api",
Short: "Start the API server",
Run: func(cmd *cobra.Command, args []string) {
fmt.Println("api called")
},
}
func init() {
rootCmd.AddCommand(apiCmd)
}