Skip to content

Commit

Permalink
We write a generator, not a "generation"
Browse files Browse the repository at this point in the history
  • Loading branch information
radar committed Nov 6, 2010
1 parent 62d2c7e commit 41b5d95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gem-development.md
Expand Up @@ -228,7 +228,7 @@ Boom! When we run `bundle exec cucumber features` again it will whinge that ther

This new _foodie/cli.rb_ file will define the command line interface using another gem called `Thor`. Thor was created by Yehuda Katz (& collaborators) as an alternative to the Rake build tool. Thor provides us with a handy API for defining our CLI, including usage banners and help output. The syntax is very similar to Rake. Additionally, Rails and Bundler both use Thor for their CLI interface as well as their generator base. Yes, Thor even does generators!

For now we'll just look at how we can craft a CLI using Thor and then afterwards, if you behave, we'll look at how to write a generation using it too.
For now we'll just look at how we can craft a CLI using Thor and then afterwards, if you behave, we'll look at how to write a generator using it too.

## Crafting a CLI

Expand Down

0 comments on commit 41b5d95

Please sign in to comment.