Class: Devkitkat::Main

Inherits:
Object
  • Object
show all
Defined in:
lib/devkitkat.rb

Class Method Summary collapse

Class Method Details

.executeObject



11
12
13
14
15
16
17
18
19
# File 'lib/devkitkat.rb', line 11

def self.execute
  command = Command.new
  config = Config.new(command.kit_root)

  target_services = config.resolve!(command.target, exclude: command.options[:exclude])
                          .map { |name| Service.new(name, config, command) }

  Processor.new(target_services, command, config).execute
end