Method: JDC::App::Push#push
- Defined in:
- lib/jdc/cli/app/push.rb
#push ⇒ Object
40 41 42 43 44 45 46 47 48 49 50 |
# File 'lib/jdc/cli/app/push.rb', line 40 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 |