         if let index = newArgs.index(of: "-r"), let i = newArgs.index(index, offsetBy: 1, limitedBy: 1) {
             var path = newArgs[i]
             
-            if let last = path.components(separatedBy: "Cartfile.resolved").first {
+            if let last = path.components(separatedBy: kCartfileResolved).first {
                 path = last
             }
             

    init(args:Array<String>) {
        guard let _ = Arguments(args) else {return}
        
//        Command.run(launchPath: newArgument.shellEnvironment, verbose: newArgument.verbose, args: "carthage","update")
    }
}


//

import Foundation

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

struct Debugger {
    enum PrintType: String {
