doxy/App/Sources/App.swift

21 lines
359 B
Swift
Raw Permalink Normal View History

2025-02-22 10:21:07 +01:00
import AppLibrary
import ArgumentParser
@main
struct App: AsyncParsableCommand {
// MARK: Properties
@OptionGroup var options: Options
// MARK: Functions
mutating func run() async throws {
let builder = AppBuilder(name: "DocCRepo")
let app = try await builder(options)
try await app.runService()
}
}