Method: VMC::App::Push#push
- Defined in:
- lib/vmc/cli/app/push.rb
#push ⇒ Object
44 45 46 47 48 49 50 51 52 53 54 |
# File 'lib/vmc/cli/app/push.rb', line 44 def push name = input[:name] path = File.(input[:path]) app = client.app_by_name(name) if app sync_app(app, path) else setup_new_app(path) end end |