Class: VMC::App::Download

Inherits:
Base
  • Object
show all
Defined in:
lib/static/cli/app/download.rb

Instance Method Summary collapse

Instance Method Details

#downloadObject



25
26
27
28
29
30
31
32
33
34
# File 'lib/static/cli/app/download.rb', line 25

def download
  app = input[:app]

  download_app(app)

rescue CFoundry::NotFound
  fail "Invalid #{b(app.name)}"
rescue CFoundry::FileError => e
  fail e.description
end