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

        }

        var plistPath: String?
        var keys: [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.appID, appKey: keys.appKey)
        } else if let plistPath = plistPath {
            return try DownloaderSettings.settingsFromConfigurationFile(plistPath: plistPath)
        }
