10 lines
334 B
Swift
10 lines
334 B
Swift
import AppKit
|
|
|
|
// SPEC §2: always a full AppKit GUI application. Even with --job it owns
|
|
// its own run loop and presents UI. Never a pure CLI tool.
|
|
|
|
let delegate = AppDelegate()
|
|
NSApplication.shared.delegate = delegate
|
|
delegate.consumeArguments(CommandLine.arguments)
|
|
_ = NSApplicationMain(CommandLine.argc, CommandLine.unsafeArgv)
|