Skip to content

Commit

Permalink
wire the useful functionality up to the CLI
Browse files Browse the repository at this point in the history
  • Loading branch information
astockwell committed Apr 21, 2015
1 parent 03daf23 commit 08e378b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/gem_example/cli/application.rb
Expand Up @@ -7,6 +7,11 @@ class Application < Thor
def hello(name)
puts "Hello #{name}"
end

desc 'useful SOMETHING', 'Make SOMETHING useful'
def useful(something)
puts GemExample::UsefulFunctionality.DoSomethingUseful(something)
end
end
end
end

0 comments on commit 08e378b

Please sign in to comment.