protohacking/cmd/smoke-test.go
2025-06-17 00:47:00 -04:00

19 lines
352 B
Go

package cmd
import (
"git.red-panda.pet/pandaware/protohacking/x/smoketest"
"github.com/spf13/cobra"
)
var smokeTest = &cobra.Command{
Use: "smoketest",
Aliases: []string{"p0"},
Short: "Problem 0: Smoke Test",
Run: func(cmd *cobra.Command, args []string) {
runServer(smoketest.New)
},
}
func init() {
rootCmd.AddCommand(smokeTest)
}