class Birdwatcher::Commands::Shell

Public Instance Methods

run() click to toggle source
# File lib/birdwatcher/commands/shell.rb, line 10
def run
  if !arguments?
    error("You must provide a shell command to execute")
    return false
  end

  command = arguments.join(" ")
  output `#{command}`
end