class Falcon::Command::Host

def call

def call
	Async.logger.info(self) do |buffer|
		buffer.puts "Falcon Host v#{VERSION} taking flight!"
		buffer.puts "- Configuration: #{@paths.join(', ')}"
		buffer.puts "- To terminate: Ctrl-C or kill #{Process.pid}"
		buffer.puts "- To reload: kill -HUP #{Process.pid}"
	end
	
	Bundler.require(:preload)
	
	self.controller.run
end

def configuration(verbose = false)

def configuration(verbose = false)
	configuration = Configuration.new(verbose)
	
	@paths.each do |path|
		path = File.expand_path(path)
		configuration.load_file(path)
	end
	
	return configuration
end

def container_class

def container_class
	Async::Container.best_container_class
end

def controller

def controller
	Controller::Host.new(self)
end