add http handler into play.go
this allows for http game creation
This commit is contained in:
parent
442970f17c
commit
e7a4362a66
2 changed files with 250 additions and 48 deletions
|
|
@ -22,7 +22,9 @@ var rootCmd = &cobra.Command{
|
|||
}
|
||||
|
||||
func Execute() {
|
||||
|
||||
rootCmd.AddCommand(NewPlayCommand())
|
||||
rootCmd.AddCommand(NewHostCommand())
|
||||
|
||||
mapCommand := NewMapCommand()
|
||||
mapCommand.AddCommand(NewMapListCommand())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue