Module: ThreeScaleToolbox::Commands::MetricsCommand

Includes:
ThreeScaleToolbox::Command
Defined in:
lib/3scale_toolbox/commands/metrics_command.rb,
lib/3scale_toolbox/commands/metrics_command/list_command.rb,
lib/3scale_toolbox/commands/metrics_command/apply_command.rb,
lib/3scale_toolbox/commands/metrics_command/create_command.rb,
lib/3scale_toolbox/commands/metrics_command/delete_command.rb

Defined Under Namespace

Modules: Apply, Create, Delete, List

Class Method Summary collapse

Methods included from ThreeScaleToolbox::Command

#config, #config_file, #exit_with_message, #fetch_required_option, included, #remotes, #threescale_client, #verbose, #verify_ssl

Class Method Details

.commandObject



10
11
12
13
14
15
16
17
18
19
20
21
# File 'lib/3scale_toolbox/commands/metrics_command.rb', line 10

def self.command
  Cri::Command.define do
    name        'metric'
    usage       'metric <sub-command> [options]'
    summary     'metric super command'
    description 'Metric commands'

    run do |_opts, _args, cmd|
      puts cmd.help
    end
  end
end