loadmaster2k/cmd/root.go

23 lines
322 B
Go
Raw Normal View History

2020-10-27 21:43:11 +01:00
package cmd
import (
log "github.com/sirupsen/logrus"
"github.com/spf13/cobra"
)
var cRoot = &cobra.Command{
Use: "loadmaster <command>",
Short: "Monitor the boulder area load",
}
func init() {
}
func Execute() {
if err := cRoot.Execute(); err != nil {
log.WithError(err).Error("cannot execute command")
}
}