Sha256: 44d367a9de251bdd709b0f9f1b2599c13a6e1e54ebcb9d30d4d96aec27ab8b78

Contents?: true

Size: 645 Bytes

Versions: 2

Compression:

Stored size: 645 Bytes

Contents

require 'cri'
require '3scale_toolbox/base_command'
require '3scale_toolbox/commands/import_command/import_csv'
require '3scale_toolbox/commands/import_command/openapi'

module ThreeScaleToolbox
  module Commands
    module ImportCommand
      include ThreeScaleToolbox::Command
      def self.command
        Cri::Command.define do
          name        'import'
          usage       'import <sub-command> [options]'
          summary     'import super command'
          description 'Importing 3scale entities'
        end
      end
      add_subcommand(ImportCsvSubcommand)
      add_subcommand(OpenAPI::OpenAPISubcommand)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
3scale_toolbox-0.7.0 lib/3scale_toolbox/commands/import_command.rb
3scale_toolbox-0.6.0 lib/3scale_toolbox/commands/import_command.rb