2021-04-10 17:47:18 +02:00
|
|
|
//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,
|
2021-04-02 10:48:30 +02:00
|
|
|
PreRun: func(cmd *cobra.Command, args []string) {
|
2021-05-03 14:51:53 +02:00
|
|
|
initConfig(true)
|
2021-04-02 10:48:30 +02:00
|
|
|
},
|
2021-03-30 19:59:26 +02:00
|
|
|
}
|