You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
schnutibox/cmd/run.go

17 lines
278 B
Go

//nolint:gochecknoglobals
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(true)
},
}