Sha256: e9a9ca118c909de730b41ecf7b0c3ec0da01a5808b1a833b62fbfa48735d44b9

Contents?: true

Size: 949 Bytes

Versions: 4

Compression:

Stored size: 949 Bytes

Contents

#!/usr/bin/env ruby
# 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 'version', 'Show version', VersionCommand
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
gaptool-client-0.8.0.pre.alpha7 lib/gaptool_client.rb
gaptool-client-0.8.0.pre.alpha6 lib/gaptool_client.rb
gaptool-client-0.8.0.pre.alpha5 lib/gaptool_client.rb
gaptool-client-0.8.0.pre.alpha4 lib/gaptool_client.rb