Sha256: 57d6c35161e9ab8b249455aefc397c07d949da1f68c0402f0dca98a235729515

Contents?: true

Size: 1.22 KB

Versions: 22

Compression:

Stored size: 1.22 KB

Contents

require '3scale_toolbox/commands/plans_command/export_command'
require '3scale_toolbox/commands/plans_command/import_command'
require '3scale_toolbox/commands/plans_command/create_command'
require '3scale_toolbox/commands/plans_command/apply_command'
require '3scale_toolbox/commands/plans_command/list_command'
require '3scale_toolbox/commands/plans_command/show_command'
require '3scale_toolbox/commands/plans_command/delete_command'

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

          run do |_opts, _args, cmd|
            puts cmd.help
          end
        end
      end
      add_subcommand(Export::ExportSubcommand)
      add_subcommand(Import::ImportSubcommand)
      add_subcommand(Create::CreateSubcommand)
      add_subcommand(Apply::ApplySubcommand)
      add_subcommand(List::ListSubcommand)
      add_subcommand(Show::ShowSubcommand)
      add_subcommand(Delete::DeleteSubcommand)
    end
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

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