Sha256: 1e2d348f434b9cb39eb8eabfcaeb726652513d9d6354c821e1a4c980cb60a34e

Contents?: true

Size: 673 Bytes

Versions: 10

Compression:

Stored size: 673 Bytes

Contents

require '3scale_toolbox/commands/policies_command/export_command'
require '3scale_toolbox/commands/policies_command/import_command'

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

          run do |_opts, _args, cmd|
            puts cmd.help
          end
        end
      end
      add_subcommand(ExportSubcommand)
      add_subcommand(ImportSubcommand)
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
3scale_toolbox-1.0.1 lib/3scale_toolbox/commands/policies_command.rb
3scale_toolbox-1.0.0 lib/3scale_toolbox/commands/policies_command.rb
3scale_toolbox-0.20.0 lib/3scale_toolbox/commands/policies_command.rb
3scale_toolbox-0.19.3 lib/3scale_toolbox/commands/policies_command.rb
3scale_toolbox-0.19.2 lib/3scale_toolbox/commands/policies_command.rb
3scale_toolbox-0.19.1 lib/3scale_toolbox/commands/policies_command.rb
3scale_toolbox-0.19.0 lib/3scale_toolbox/commands/policies_command.rb
3scale_toolbox-0.18.3 lib/3scale_toolbox/commands/policies_command.rb
3scale_toolbox-0.18.2 lib/3scale_toolbox/commands/policies_command.rb
3scale_toolbox-0.18.0 lib/3scale_toolbox/commands/policies_command.rb