Class: ThreeScaleToolbox::Commands::ProxyConfigCommand::DeploySubcommand
- Inherits:
-
Cri::CommandRunner
- Object
- Cri::CommandRunner
- ThreeScaleToolbox::Commands::ProxyConfigCommand::DeploySubcommand
show all
- Includes:
- ThreeScaleToolbox::Command
- Defined in:
- lib/3scale_toolbox/commands/proxy_config_command/deploy_command.rb
Class Method Summary
collapse
Instance Method Summary
collapse
#config, #config_file, #exit_with_message, #fetch_required_option, included, #remotes, #threescale_client, #verbose, #verify_ssl
Class Method Details
.command ⇒ Object
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
# File 'lib/3scale_toolbox/commands/proxy_config_command/deploy_command.rb', line 7
def self.command
Cri::Command.define do
name 'deploy'
usage 'deploy <remote> <service>'
summary 'Promotes the APIcast configuration to the Staging Environment'
description 'Promotes the APIcast configuration to the Staging Environment (Production Environment in case of Service Mesh).'
param :remote
param :service_ref
ThreeScaleToolbox::CLI.output_flag(self)
runner DeploySubcommand
end
end
|
Instance Method Details
#run ⇒ Object
23
24
25
|
# File 'lib/3scale_toolbox/commands/proxy_config_command/deploy_command.rb', line 23
def run
printer.print_record service.proxy_deploy
end
|