schnutibox/cmd/run.go

17 lines
274 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) {
initConfig()
},
2021-03-30 19:59:26 +02:00
}