10 11 12 13 14 15 16 17 18
# File 'lib/plan/cli.rb', line 10 def run(args) begin command args.first, args[1..-1] rescue Plan::Advice => e e.lines.each do |line| puts "\e[31m[uh-oh]\e[0m #{line}" end end end