Method: VMC::Cli::Command::Apps#pull

Defined in:
lib/cli/commands/apps.rb

#pull(appname, path = nil) ⇒ Object



221
222
223
224
225
226
227
# File 'lib/cli/commands/apps.rb', line 221

def pull(appname, path=nil)
  path = File.expand_path(path || appname)
  banner = "Pulling last pushed source code: "
  display banner, false      
  client.app_pull(appname, path)
  display 'OK'.green
end