Method: SimpleDeploy::CLI.commands

Defined in:
lib/simple_deploy/cli.rb

.commandsObject



90
91
92
93
94
# File 'lib/simple_deploy/cli.rb', line 90

def self.commands
  return @commands if @commands
  klasses   = SimpleDeploy::CLI.constants.reject { |c| c == :Shared }
  @commands = klasses.map { |klass| SimpleDeploy::CLI.const_get(klass).new }
end