10 lines
No EOL
194 B
Ruby
10 lines
No EOL
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") |