CHGenerator/WebsiteGenerator/Files/Configuration.swift
2022-09-08 09:38:35 +02:00

21 lines
333 B
Swift

import Foundation
struct Configuration: Codable {
let pageImageWidth: Int
let minifyCSSandJS: Bool
let contentPath: String
let outputPath: String
var contentDirectory: URL {
.init(fileURLWithPath: contentPath)
}
var outputDirectory: URL {
.init(fileURLWithPath: outputPath)
}
}