Renamed the App and AppOptions in the executable target as Doxy and DoxyOptions respectively.

This commit is contained in:
2025-04-07 01:28:52 +02:00
parent 9da4fb2260
commit ae18fe05b7
2 changed files with 0 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
import ArgumentParser
import DoxyLibrary
/// A command type that runs the service based on given of set of option parameters.
@main struct Doxy: AsyncParsableCommand {
// MARK: Properties
/// An option type that contains all the possible parameters that can be provided to the service.
@OptionGroup var options: Options
// MARK: Functions
/// Runs the service.
mutating func run() async throws {
let appBuilder = AppBuilder(
name: options.name,
archivesPath: options.archivesPath
)
let app = try await appBuilder(options)
try await app.runService()
}
}