macos-cli

Control a Mac from the terminal with the macos command (Calendar, Reminders, Contacts, Mail, Messages, Notes, Safari, Photos, Music, files, windows, screenshots, OCR, the Accessibility tree and system settings), where every command that returns data prints JSON with --json; run macos doctor --for-agent before anything else.