Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/env swift
import Foundation
import AppKit
import ApplicationServices
func fail(_ message: String) -> Never {
fputs("ERROR: \(message)\n", stderr)
exit(1)
}