 import Foundation
+
+import CommandLine // jatoben/CommandLine
 
 let spamDirectory = ".spam"
 let swiftc = "xcrun -sdk macosx swiftc"

        }
        if count(modules) > 0 {
            let finalCompilationCommand = compile(modules)
            call(finalCompilationCommand)
        } else {
            error("could not find any installable modules")
        }

    call("rm -rf \(spamDirectory)")
}

func compile(#outputFile: String?) {
    if let sourceFiles = filesOfType("swift", atPath: ".") {
        var modules = [Module]()
        for file in split(sourceFiles, isSeparator: { $0 == " " }) {
