Method: TTY::Command::DryRunner#run!
- Defined in:
- lib/tty/command/dry_runner.rb
#run! ⇒ Object
Show command without running
18 19 20 21 22 23 24 |
# File 'lib/tty/command/dry_runner.rb', line 18 def run!(*) cmd.to_command = "#{@printer.decorate("(dry run)", :blue)} " + @printer.decorate(cmd.to_command, :yellow, :bold) @printer.write(cmd, , cmd.uuid) Result.new(0, "", "") end |