Permalink
Browse files

wire the useful functionality up to the CLI

  • Loading branch information...
astockwell committed Apr 21, 2015
1 parent 03daf23 commit 08e378bde56c8ca6df8936828302a545971d90e6
Showing with 5 additions and 0 deletions.
  1. +5 −0 lib/gem_example/cli/application.rb
@@ -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.