Repository Public License
1import Foundation2import PrismStudio34// The app target stays thin (CLAUDE.md §4): everything lives in the PrismStudio module.5if CommandLine.arguments.contains("--store-key") {6 // Developer convenience: `printf %s "$KEY" | PRISM --store-key` verifies a key with the API and stores it in the Keychain7 // from PRISM's own process, so the item belongs to PRISM and no access prompt appears later. The key is read from stdin, never argv.8 exit(await StudioKeyTool.storeKeyFromStandardInput())9}10PrismStudioApp.main()11