19 lines
372 B
Go
19 lines
372 B
Go
package cmd
|
|
|
|
import (
|
|
"git.red-panda.pet/pandaware/protohacking/x/meanstoanend"
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
var meansToAnEnd = &cobra.Command{
|
|
Use: "meanstoanend",
|
|
Aliases: []string{"p2"},
|
|
Short: "Problem 2: Means to an End",
|
|
Run: func(cmd *cobra.Command, args []string) {
|
|
runServer(meanstoanend.New)
|
|
},
|
|
}
|
|
|
|
func init() {
|
|
rootCmd.AddCommand(meansToAnEnd)
|
|
}
|