Class: ThreeScaleToolbox::Commands::PlansCommand::Export::ExportSubcommand
- Inherits:
-
Cri::CommandRunner
- Object
- Cri::CommandRunner
- ThreeScaleToolbox::Commands::PlansCommand::Export::ExportSubcommand
show all
- Includes:
- ThreeScaleToolbox::Command
- Defined in:
- lib/3scale_toolbox/commands/plans_command/export_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
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# File 'lib/3scale_toolbox/commands/plans_command/export_command.rb', line 17
def self.command
Cri::Command.define do
name 'export'
usage 'export [opts] <remote> <service_system_name> <plan_system_name>'
summary 'export application plan'
description 'Export application plan, limits, pricing rules and features'
option :f, :file, 'Write to file instead of stdout', argument: :required
param :remote
param :service_system_name
param :plan_system_name
runner ExportSubcommand
end
end
|