Method: TTY::Command::Printers::Pretty#print_command_start
- Defined in:
- lib/tty/command/printers/pretty.rb
#print_command_start(cmd, *args) ⇒ Object
14 15 16 17 18 |
# File 'lib/tty/command/printers/pretty.rb', line 14 def print_command_start(cmd, *args) = ["Running #{decorate(cmd.to_command, :yellow, :bold)}"] << args.map(&:chomp).join(" ") unless args.empty? write(cmd, .join) end |