21 lines
361 B
Plaintext
Raw Permalink Normal View History

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: "{{ name }}")
let app = try await builder(options)
try await app.runService()
}
}