         Debugger.printout("  version       Display current version\n")
         
         Debugger.printout("Options:", type: .success)
-        Debugger.printout("  -r            Path to directory where Cartfile.resolved exists (by default uses current directory).")
+        Debugger.printout("  -r            Path to directory where \(kCartfileResolved) exists (by default uses current directory).")
         Debugger.printout("  -x            XCode version (by default uses `gcc --version`)")
         Debugger.printout("  -l            Swift version (by default uses `xcrun swift -version`)")
         Debugger.printout("  -s            Shell environment (by default will use /usr/bin/env)")

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

//

import Foundation

// Constants
let kCartfileResolved = "Cartfile.resolved"
let kCarthageCacheDir = "carthage-cache"

struct Debugger {
    enum PrintType: String {
