jkomoros / boardgame

An in-progress framework in golang to easily build boardgame Progressive Web Apps
Apache License 2.0
31 stars 4 forks source link

`boardgame-util stub` feature to add new delegate methods to main.go #687

Open jkomoros opened 6 years ago

jkomoros commented 6 years ago

For example, if you decide after you already have a game delegate that you want to add a ConfigureConstants(), ideally there's a stub command that allows you to do that

(run from examplegame folder) boardgame-util stub add constants

jkomoros commented 6 years ago

And if you run boardgame-util stub add (no arguments) then it gives you an interactive prompt to pick the one to add