Integrated the AppOptions options to the"init(name: archivesPath: )" initialisation function for the AppBuilder type in the library target.

This commit is contained in:
2025-03-26 00:31:16 +01:00
parent f9fc29c8da
commit b13ba625f4
3 changed files with 26 additions and 20 deletions
+4 -1
View File
@@ -11,7 +11,10 @@ struct App: AsyncParsableCommand {
// MARK: Functions
mutating func run() async throws {
let appBuilder = AppBuilder(appName: "Doxy")
let appBuilder = AppBuilder(
name: options.name,
archivesPath: options.archivesPath
)
let app = try await appBuilder(options)