         }
 
         var plistPath: String?
-        var keys: [String]?
+        var keys: (appID: String, appKey: String)?
 
         // Get plist path if present
         if let plistPaths = parsedArguments["-plist"] where plistPaths.count == 1 {


    func downloaderSettings() throws -> DownloaderSettings {
        if let keys = keys {
            return DownloaderSettings(appID: keys[0], appKey: keys[2])
        } else if let plistPath = plistPath {
            return try DownloaderSettings.settingsFromConfigurationFile(plistPath: plistPath)
        }


struct GeneratorSettings {
    var plistPath: String?
    var keys: (appID: String, appKey: String)?
    var outputPath: String
}

