Skip to content

Instantly share code, notes, and snippets.

@pkieltyka
Created June 22, 2012 18:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pkieltyka/2974508 to your computer and use it in GitHub Desktop.
Save pkieltyka/2974508 to your computer and use it in GitHub Desktop.
#!/usr/bin/env ruby
require 'rubygems'
require 'thor'
class TalkTasks < Thor
namespace "talk"
desc "greet", "says hello"
def greet
puts "Hello!"
end
class Formal < Thor
namespace "talk:formal"
desc "greet", "says a formal hello"
def greet
puts "Good evening!"
end
end
end
TalkTasks.start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment