middleman/fixtures/3rd-party-command/config.rb
2011-12-21 12:13:28 -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")