Define the "archivesFolder" property for the AppBuilder builder used to be build the app in the app target.

This commit is contained in:
Javier Cicchelli 2025-03-09 14:42:35 +01:00
parent 7929f55c22
commit a3c5cefaef
2 changed files with 6 additions and 2 deletions

View File

@ -11,8 +11,12 @@ struct App: AsyncParsableCommand {
// MARK: Functions // MARK: Functions
mutating func run() async throws { mutating func run() async throws {
let builder = AppBuilder(name: "DocCRepo") let appBuilder = AppBuilder(
let app = try await builder(options) appName: "Doxy",
archivesFolder: "Resources/Archives"
)
let app = try await appBuilder(options)
try await app.runService() try await app.runService()
} }