module Lederhosen class CLI < Thor include Thor::Actions no_tasks do # just print string to STDERR def ohai(s) @shell.say_status('okay', s, 'green') end end @shell = Thor::Shell::Basic.new end # class CLI end # module Dir.glob(File.join(File.dirname(__FILE__), 'tasks', '*.rb')).each { |f| require f }