Module: GTA::Sh

Included in:
Deploy, Diff, HerokuDB, Hotfix, LocalDB, Stage
Defined in:
lib/gta/sh.rb

Instance Method Summary collapse

Instance Method Details

#commander(command = nil) ⇒ Object



11
12
13
# File 'lib/gta/sh.rb', line 11

def commander(command=nil)
  Commander.new(command)
end

#sh(command) ⇒ Object



3
4
5
# File 'lib/gta/sh.rb', line 3

def sh(command)
  commander(command).perform
end

#sh!(command) ⇒ Object



7
8
9
# File 'lib/gta/sh.rb', line 7

def sh!(command)
  commander(command).perform!
end