schnutibox/cmd/run.go

17 lines
278 B
Go
Raw Normal View History

//nolint:gochecknoglobals
2021-03-30 19:59:26 +02:00
package cmd
import (
"github.com/spf13/cobra"
"go.xsfx.dev/schnutibox/pkg/run"
)
var runCmd = &cobra.Command{
Use: "run",
Short: "Running this thing",
Run: run.Run,
PreRun: func(cmd *cobra.Command, args []string) {
2021-05-03 14:51:53 +02:00
initConfig(true)
},
2021-03-30 19:59:26 +02:00
}