Using Thor for generators in a Ruby Gem
- by David Burrows
How do I setup a Gem to have a binary command eg. "project newProject" that uses Thor's set of generator commands to create files etc.?
A good answer would describe how to layout the skeleton of a gem that that when run from the command line "project newProject" creates 1 file named "newProject.txt" in the directory it's run from.
I've seen that…