helm/rake/lib/output.rb
2014-09-05 17:01:52 -04:00

10 lines
160 B
Ruby

def echo(msg, level = 1)
# print green text
puts "\e[32m#{"="*level}> #{msg}\e[0m"
end
def error(msg)
# print red text
puts "\e[31m=> #{msg}\e[0m"
end