Sha256: f7752415fe685e6d1e5e497dd2d118b378531b34993ee2fea56d8ab877083990

Contents?: true

Size: 1.02 KB

Versions: 20

Compression:

Stored size: 1.02 KB

Contents

require '3scale_toolbox/commands/application_command/list_command'
require '3scale_toolbox/commands/application_command/create_command'
require '3scale_toolbox/commands/application_command/show_command'
require '3scale_toolbox/commands/application_command/apply_command'
require '3scale_toolbox/commands/application_command/delete_command'

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

          run do |_opts, _args, cmd|
            puts cmd.help
          end
        end
      end
      add_subcommand(List::ListSubcommand)
      add_subcommand(Create::CreateSubcommand)
      add_subcommand(Show::ShowSubcommand)
      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/application_command.rb
3scale_toolbox-1.0.0 lib/3scale_toolbox/commands/application_command.rb
3scale_toolbox-0.20.0 lib/3scale_toolbox/commands/application_command.rb
3scale_toolbox-0.19.3 lib/3scale_toolbox/commands/application_command.rb
3scale_toolbox-0.19.2 lib/3scale_toolbox/commands/application_command.rb
3scale_toolbox-0.19.1 lib/3scale_toolbox/commands/application_command.rb
3scale_toolbox-0.19.0 lib/3scale_toolbox/commands/application_command.rb
3scale_toolbox-0.18.3 lib/3scale_toolbox/commands/application_command.rb
3scale_toolbox-0.18.2 lib/3scale_toolbox/commands/application_command.rb
3scale_toolbox-0.18.0 lib/3scale_toolbox/commands/application_command.rb
3scale_toolbox-0.17.1 lib/3scale_toolbox/commands/application_command.rb
3scale_toolbox-0.17.0 lib/3scale_toolbox/commands/application_command.rb
3scale_toolbox-0.16.0 lib/3scale_toolbox/commands/application_command.rb
3scale_toolbox-0.15.0 lib/3scale_toolbox/commands/application_command.rb
3scale_toolbox-0.14.0 lib/3scale_toolbox/commands/application_command.rb
3scale_toolbox-0.13.0 lib/3scale_toolbox/commands/application_command.rb
3scale_toolbox-0.12.4 lib/3scale_toolbox/commands/application_command.rb
3scale_toolbox-0.12.3 lib/3scale_toolbox/commands/application_command.rb
3scale_toolbox-0.12.2 lib/3scale_toolbox/commands/application_command.rb
3scale_toolbox-0.11.0 lib/3scale_toolbox/commands/application_command.rb