Sha256: 4380a45e971cb2f278246a9941554d8d1b3fc2a5ca9c8770a2c181a976c4bfa8

Contents?: true

Size: 766 Bytes

Versions: 10

Compression:

Stored size: 766 Bytes

Contents

require '3scale_toolbox/commands/product_command/copy_command'
require '3scale_toolbox/commands/product_command/export_command'
require '3scale_toolbox/commands/product_command/import_command'

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

          run do |_opts, _args, cmd|
            puts cmd.help
          end
        end
      end
      add_subcommand(CopySubcommand)
      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/product_command.rb
3scale_toolbox-1.0.0 lib/3scale_toolbox/commands/product_command.rb
3scale_toolbox-0.20.0 lib/3scale_toolbox/commands/product_command.rb
3scale_toolbox-0.19.3 lib/3scale_toolbox/commands/product_command.rb
3scale_toolbox-0.19.2 lib/3scale_toolbox/commands/product_command.rb
3scale_toolbox-0.19.1 lib/3scale_toolbox/commands/product_command.rb
3scale_toolbox-0.19.0 lib/3scale_toolbox/commands/product_command.rb
3scale_toolbox-0.18.3 lib/3scale_toolbox/commands/product_command.rb
3scale_toolbox-0.18.2 lib/3scale_toolbox/commands/product_command.rb
3scale_toolbox-0.18.0 lib/3scale_toolbox/commands/product_command.rb