Sha256: de9d2cb8c9822150a6d668118f3f26680bc8044568a5d9f02c91041922202780

Contents?: true

Size: 1.04 KB

Versions: 6

Compression:

Stored size: 1.04 KB

Contents

# coding: utf-8
# rubocop:disable Metrics/LineLength

require 'clamp'
require 'gaptool_client/commands'

module Gaptool
  class MainCommand < Clamp::Command
    subcommand 'info', 'Displays information about nodes', InfoCommand
    subcommand 'init', 'Create new application cluster', InitCommand
    subcommand 'terminate', 'Terminate instance', TerminateCommand
    subcommand 'ssh-config', 'Configure ssh', SSHConfigCommand
    subcommand 'ssh', 'ssh to cluster host', SSHCommand
    subcommand 'set', 'update properties for a node', SetCommand
    subcommand 'chefrun', 'chefrun on a resource pool', ChefrunCommand
    subcommand 'deploy', 'deploy on an application', DeployCommand
    subcommand 'rehash', 'Regenerate all host metadata. KNOW WHAT THIS DOES BEFORE RUNNING IT', RehashCommand
    subcommand 'runcmd', 'Run command on instance', RuncmdCommand
    subcommand 'runscript', 'Run command on instance', RunScriptCommand
    subcommand 'scp', 'Copy file to-from instance(s)', ScpCommand
    subcommand 'version', 'Show version', VersionCommand
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
gaptool-client-0.8.2 lib/gaptool_client.rb
gaptool-client-0.8.1 lib/gaptool_client.rb
gaptool-client-0.8.0 lib/gaptool_client.rb
gaptool-client-0.8.0.pre.beta5 lib/gaptool_client.rb
gaptool-client-0.8.0.pre.beta4 lib/gaptool_client.rb
gaptool-client-0.8.0.pre.beta3 lib/gaptool_client.rb