Add command to generate Colors

This commit is contained in:
2021-12-20 16:28:23 +01:00
parent e2150059f7
commit e8545955f6
22 changed files with 1094 additions and 31 deletions

View File

@@ -16,12 +16,16 @@ enum FontToolError: Error {
switch self {
case .fcScan(let path, let code, let output):
return """
[FontTool]
Error while getting fontName (fc-scan --format %{postscriptname} \(path).
fc-scan exit with \(code) and output is: \(output ?? "no output")
"""
case .inputFolderNotFound(let inputFolder):
return "Input folder not found: \(inputFolder)"
return """
[ColorTool]
Input folder not found: \(inputFolder)
"""
}
}
}