Skip to content

Commit

Permalink
Update the Readme to be about Thor, not Hermes.
Browse files Browse the repository at this point in the history
  • Loading branch information
nex3 committed May 14, 2008
1 parent 1ac4480 commit 8d3ec82
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions README.markdown
Expand Up @@ -6,9 +6,7 @@ to functions and parameters.

Examples:

class MyApp
extend Hermes # [1]
class MyApp < Thor # [1]
map "-L" => :list # [2]
desc "install APP_NAME", "install one of the available apps" # [3]
Expand All @@ -29,15 +27,15 @@ Examples:

MyApp.start

Hermes automatically maps commands as follows:
Thor automatically maps commands as follows:

app install name --force

That gets converted to:

MyApp.new.install("name", :force => true)

[1] Use `extend Hermes` to turn a class into an option mapper
[1] Inherit from Thor to turn a class into an option mapper

[2] Map additional non-valid identifiers to specific methods. In this case,
convert -L to :list
Expand Down

0 comments on commit 8d3ec82

Please sign in to comment.