Sha256: f5d5444965feff013cd23d4e1cf1763ac66ec02ec59d76c3be732c6d5eacb2f7
Contents?: true
Size: 463 Bytes
Versions: 12
Compression:
Stored size: 463 Bytes
Contents
module Lederhosen ## # The CLI class holds all of the Thor tasks # 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
12 entries across 12 versions & 1 rubygems