drahoot/cmd/server.go

22 lines
283 B
Go
Raw Normal View History

2024-12-06 10:38:37 +01:00
/*
Copyright © 2024 raul
*/
package cmd
import (
"github.com/spf13/cobra"
)
var serverCmd = &cobra.Command{
Use: "server",
Short: "Spawn the Drahoot webserver",
Run: func(cmd *cobra.Command, args []string) {
server()
},
}
func init() {
rootCmd.AddCommand(serverCmd)
}