23 lines
322 B
Go
23 lines
322 B
Go
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")
|
|
}
|
|
}
|