Sha256: 1ff1fa6564e937f47da511319e7f99b5cf7c14fe3af63cf96c70e4ca7733fedc
Contents?: true
Size: 407 Bytes
Versions: 7
Compression:
Stored size: 407 Bytes
Contents
module Lederhosen class CLI < Thor include Thor::Actions no_tasks do def ohai(s) @shell.say_status('okay', s, 'green') end def ohno(s) @shell.say_status('fail', s, 'red') exit(-1) 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 }
Version data entries
7 entries across 7 versions & 1 rubygems