Sha256: e69780ab6af2122e2cf9ba4934780d448e8e36475292837aed3bd60d03288528

Contents?: true

Size: 893 Bytes

Versions: 20

Compression:

Stored size: 893 Bytes

Contents

require '3scale_toolbox/commands/methods_command/create_command'
require '3scale_toolbox/commands/methods_command/list_command'
require '3scale_toolbox/commands/methods_command/apply_command'
require '3scale_toolbox/commands/methods_command/delete_command'

module ThreeScaleToolbox
  module Commands
    module MethodsCommand
      include ThreeScaleToolbox::Command
      def self.command
        Cri::Command.define do
          name        'method'
          usage       'method <sub-command> [options]'
          summary     'method super command'
          description 'Method commands'

          run do |_opts, _args, cmd|
            puts cmd.help
          end
        end
      end
      add_subcommand(Create::CreateSubcommand)
      add_subcommand(List::ListSubcommand)
      add_subcommand(Apply::ApplySubcommand)
      add_subcommand(Delete::DeleteSubcommand)
    end
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
3scale_toolbox-1.0.1 lib/3scale_toolbox/commands/methods_command.rb
3scale_toolbox-1.0.0 lib/3scale_toolbox/commands/methods_command.rb
3scale_toolbox-0.20.0 lib/3scale_toolbox/commands/methods_command.rb
3scale_toolbox-0.19.3 lib/3scale_toolbox/commands/methods_command.rb
3scale_toolbox-0.19.2 lib/3scale_toolbox/commands/methods_command.rb
3scale_toolbox-0.19.1 lib/3scale_toolbox/commands/methods_command.rb
3scale_toolbox-0.19.0 lib/3scale_toolbox/commands/methods_command.rb
3scale_toolbox-0.18.3 lib/3scale_toolbox/commands/methods_command.rb
3scale_toolbox-0.18.2 lib/3scale_toolbox/commands/methods_command.rb
3scale_toolbox-0.18.0 lib/3scale_toolbox/commands/methods_command.rb
3scale_toolbox-0.17.1 lib/3scale_toolbox/commands/methods_command.rb
3scale_toolbox-0.17.0 lib/3scale_toolbox/commands/methods_command.rb
3scale_toolbox-0.16.0 lib/3scale_toolbox/commands/methods_command.rb
3scale_toolbox-0.15.0 lib/3scale_toolbox/commands/methods_command.rb
3scale_toolbox-0.14.0 lib/3scale_toolbox/commands/methods_command.rb
3scale_toolbox-0.13.0 lib/3scale_toolbox/commands/methods_command.rb
3scale_toolbox-0.12.4 lib/3scale_toolbox/commands/methods_command.rb
3scale_toolbox-0.12.3 lib/3scale_toolbox/commands/methods_command.rb
3scale_toolbox-0.12.2 lib/3scale_toolbox/commands/methods_command.rb
3scale_toolbox-0.11.0 lib/3scale_toolbox/commands/methods_command.rb