| name | icloud-cli |
| description | Manage iCloud calendars, events, and email using the icloud CLI. Use when users mention iCloud, Apple calendar, iCloud email, calendar events, or scheduling tasks. |
iCloud CLI
CLI tool for interacting with iCloud calendar and email services.
Prerequisites
The icloud binary must be available in PATH. At least one iCloud account must be configured before use.
Account Management
icloud account add [-e EMAIL] [-p PASSWORD] [-n NAME] [--alias ALIAS]
icloud account list
icloud account set-default <account>
icloud account remove <account>
Calendar Management
icloud calendar list -a ACCOUNT
icloud calendar create <name> -a ACCOUNT
icloud calendar update <calendar-id> -n <new-name> -a ACCOUNT
icloud calendar delete <calendar-id> -a ACCOUNT
Event Management
icloud event list -a ACCOUNT [-s START] [-e END] [-c CALENDAR_ID] [-o FORMAT]
icloud event get <event-uid> -c CALENDAR_ID -a ACCOUNT [-o FORMAT]
icloud event create -t TITLE -s START -c CALENDAR_ID [-e END] [-l LOCATION] [-d DESCRIPTION] [-r RRULE] -a ACCOUNT
icloud event update <event-uid> -c CALENDAR_ID [-t TITLE] [-s START] [-e END] [-l LOCATION] [-d DESCRIPTION] [-r RRULE] [-S] [-o OCCURRENCE] -a ACCOUNT
icloud event delete <event-uid> -c CALENDAR_ID -a ACCOUNT [-S] [-o OCCURRENCE]