helm/rake/lib/output.rb

10 lines
160 B
Ruby
Raw Normal View History

2014-09-05 14:01:52 -07:00
def echo(msg, level = 1)
# print green text
puts "\e[32m#{"="*level}> #{msg}\e[0m"
2014-04-11 00:31:44 -07:00
end
2014-04-13 08:45:53 -07:00
2014-09-05 14:01:52 -07:00
def error(msg)
# print red text
puts "\e[31m=> #{msg}\e[0m"
2014-04-13 08:45:53 -07:00
end