     
     static func cacheDirExist() -> Bool {
         let documentsDirectory = FileManager.default.urls(for: .cachesDirectory, in: .userDomainMask).first!
-        let dataPath = documentsDirectory.appendingPathComponent("carthage-cache")
+        let dataPath = documentsDirectory.appendingPathComponent(kCarthageCacheDir)
         
         return File.createDir(dataPath)
     }

    }
}

struct Arguments {
    var verbose: Bool = false
    var force: Bool = false
    var carthagePath: String
    var xcodeVersion: String?
    var swiftVersion: String?
    var shellEnvironment: String = "/usr/bin/env"
    
    init?(_ args:Array<String>) {
        var newArgs = args.dropFirst()
        if let _ = newArgs.index(of: "help") {
            Arguments.showHelp();
            return nil
            
        }
        
        if let _ = newArgs.index(of: "version") {

    }
    
    static func resolveFileExist(path: String) -> Bool {
        let newPath = path + "/\(kCartfileResolved)"

        if File.exists(path: newPath) == false {
            Debugger.printout("Wrong path to \(kCartfileResolved)!\n", type: .error)
            return false
        }
        
