module Jobly::Shell

Public Instance Methods

shell() click to toggle source
# File lib/jobly/helpers/shell.rb, line 5
def shell
  @shell ||= shell!
end
shell!() click to toggle source
# File lib/jobly/helpers/shell.rb, line 9
def shell!
  TTY::Command.new output: logger, 
    color: false,
    dry_run: !!Jobly.shell_dry_run
end