     print("          --output=<filepath> : output folder where to write the result iOS files.")
 }
 
-func convert(androidFileName fileName: String, outputPath: String?) -> Int32 {
+func convert(androidFileName fileName: String, outputPath: String?) -> Bool {
     guard let localization = parseAndroidFile(withName: fileName) else {
-        return 1
+        return false
     }
 
     let outputFolder = outputPath ?? NSFileManager().currentDirectoryPath

    let localizableString = LocalizableFormatter().format(localization)
    if !write(stringData: localizableString, toFilePath: outputLocalizableStringsPath) {
        print("Failed to write Localizable.strings file at path \(outputLocalizableStringsPath)")
        return 1
    }
    do {
        let stringsDictContent = try StringsDictFormatter().format(localization)
        if !NSFileManager().createFileAtPath(outputStringsDictPath, contents: stringsDictContent, attributes: nil) {
            print("Failed to write stringsdict file at path \(outputStringsDictPath)")
            return 1
        }
    } catch StringsDictFormatter.Error.noPlurals {
        print("No plural found, skipping stringsdict file.")
    } catch {
        print("Error when formatting stringsdict data \(error)")
        return 1
    }

    return 0
}

func parseAndroidFile(withName name: String) -> LocalizationMap? {

            printUsage(processName: processName)
            return 0
        case let .convertAndroidFile(androidFileName: fileName, outputPath: outputPath):
            return convert(androidFileName: fileName, outputPath: outputPath) ? 0 : 1
        }
    } catch let CLIAction.Error.missingArgument(actionName: actionName, missingArgument: argumentName) {
        print("Missing argument '\(argumentName)' for action '\(actionName)'")
