This repository has been archived on 2024-12-15. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
bottin-ag/cmd/web.go

23 lines
355 B
Go

/*
Copyright © 2023 AGECEM & Victor Lacasse-Beaudoin
*/
package cmd
import (
"fmt"
"github.com/spf13/cobra"
)
// webCmd represents the web command
var webCmd = &cobra.Command{
Use: "web",
Short: "Start the webserver",
Run: func(cmd *cobra.Command, args []string) {
fmt.Println("web called")
},
}
func init() {
rootCmd.AddCommand(webCmd)
}