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

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


        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: kCartfileResolved).first {
                path = last
            }
            
