middleman/middleman-core/fixtures/3rd-party-command/config.rb
2011-12-29 15:09:51 -08:00

10 lines
194 B
Ruby

class HelloWorld < Thor
default_task :say_hi
desc "hello", "Say hello"
def say_hi
puts "Hello World"
end
end
Middleman::Cli::Base.register(HelloWorld, :hello, "hello", "Say hello")