Module: Rig::Command

Defined in:
lib/rig/command.rb,
lib/rig/command/dns.rb,
lib/rig/command/ssh.rb,
lib/rig/command/config.rb,
lib/rig/command/server.rb,
lib/rig/command/account.rb,
lib/rig/command/keypair.rb,
lib/rig/command/options.rb,
lib/rig/command/abstract.rb,
lib/rig/command/balancer.rb,
lib/rig/command/environment.rb

Defined Under Namespace

Modules: Account, Config, Options Classes: Abstract, Balancer, Csshx, Dns, Environment, Keypair, Main, Server, Ssh

Class Method Summary collapse

Class Method Details

.loadObject



96
97
98
99
100
101
102
# File 'lib/rig/command.rb', line 96

def load
  Rig::Plugin.run "commands:before"

  Dir["#{File.dirname(__FILE__)}/command/*.rb"].each {|file| require file.gsub(/\.rb/,'')}

  Rig::Plugin.run "commands:loaded", Rig::Command::Main
end