module Falcon::Command::Paths

def configuration

def configuration
	configuration = Configuration.new
	
	self.resolved_paths.each do |path|
		path = File.expand_path(path)
		
		configuration.load_file(path)
	end
	
	return configuration
end

def resolved_paths(&block)

def resolved_paths(&block)
	@paths.collect do |path|
		Dir.glob(path)
	end.flatten.sort.uniq.each(&block)
end