Sha256: c137e80f61e30f938cf12773e868d4df580e36b6d8884d91a649cd21ad9032ff

Contents?: true

Size: 977 Bytes

Versions: 22

Compression:

Stored size: 977 Bytes

Contents

require '3scale_toolbox/commands/remote_command/remote_add'
require '3scale_toolbox/commands/remote_command/remote_remove'
require '3scale_toolbox/commands/remote_command/remote_rename'
require '3scale_toolbox/commands/remote_command/remote_list'

module ThreeScaleToolbox
  module Commands
    module RemoteCommand
      class RemoteCommand < Cri::CommandRunner
        include ThreeScaleToolbox::Command

        def self.command
          Cri::Command.define do
            name        'remote'
            usage       'remote <sub-command> [options]'
            summary     'remotes super command'
            description 'Manage your remotes'
            runner RemoteCommand
          end
        end

        def run
          puts command.help
        end

        add_subcommand(RemoteAddSubcommand)
        add_subcommand(RemoteRemoveSubcommand)
        add_subcommand(RemoteRenameSubcommand)
        add_subcommand(RemoteListSubcommand)
      end
    end
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

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