Class: UuAppstudio::Cmd::AppboxDeployController
- Inherits:
-
UU::OS::CMD::CommandController
- Object
- UU::OS::CMD::CommandController
- UuAppstudio::Cmd::AppboxDeployController
- Defined in:
- app/controllers/appbox/deploy.rb
Constant Summary
- CONTROLLER_URL_PATH =
'Appbox/deploy'
Instance Method Summary collapse
Instance Method Details
#on_exec(ctx) ⇒ Object
13 14 15 16 17 18 19 |
# File 'app/controllers/appbox/deploy.rb', line 13 def on_exec(ctx) UuAppstudio::Cmd::InputMethods.cmd(ctx) do app_card_uri = UuAppstudio::Cmd::Helpers.main_entity_uri(ctx) # validate parameters return UuAppstudio::Model::AppBox::Deploy.new(app_card_uri, ctx.parameters).deploy! end end |