Command-Line Interface¶
Reference for the icloud command, generated from the installed Typer
application. See the Command-Line Interface guide for
task-oriented usage, authentication, and keyring storage.
app¶
Command line interface for pyicloud services.
Usage:
console
$ app [OPTIONS] COMMAND [ARGS]...
Options:
--version: Show the installed pyicloud version and exit.--install-completion: Install completion for the current shell.--show-completion: Show completion for the current shell, to copy it or customize the installation.--help: Show this message and exit.
Commands:
doctor: Check the local install, the session, and...account: Inspect iCloud account metadata.auth: Manage authentication and sessions.devices: Work with Find My devices.calendar: Inspect calendars and events.contacts: Inspect iCloud contacts.drive: Browse and download iCloud Drive files.photos: Browse and download iCloud Photos.hidemyemail: Manage Hide My Email aliases.reminders: Inspect and mutate Reminders.notes: Inspect, render, export, and manage Notes.invites: Inspect Apple Invites events.mail: Read Mail and explicitly change messages...
app doctor¶
Check the local install, the session, and Apple's advertised services.
Read-only: nothing here modifies the account. With --probe it additionally calls each service once, which is the only way to catch an endpoint that has been withdrawn behind a host Apple still advertises.
Exits non-zero when a problem is found, and also when there is no session, since the checks that matter could not be run at all.
Usage:
console
$ app doctor [OPTIONS]
Options:
--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--probe: Additionally call each service once with a read-only request. Catches an endpoint that has been withdrawn behind a host Apple still advertises, at the cost of one request per service.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app account¶
Inspect iCloud account metadata.
Usage:
console
$ app account [OPTIONS] COMMAND [ARGS]...
Options:
--help: Show this message and exit.
Commands:
summary: Show high-level account information.devices: List devices associated with the account...family: List family sharing members.storage: Show iCloud storage usage.
app account summary¶
Show high-level account information.
Usage:
console
$ app account summary [OPTIONS]
Options:
--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app account devices¶
List devices associated with the account profile.
Usage:
console
$ app account devices [OPTIONS]
Options:
--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app account family¶
List family sharing members.
Usage:
console
$ app account family [OPTIONS]
Options:
--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app account storage¶
Show iCloud storage usage.
Usage:
console
$ app account storage [OPTIONS]
Options:
--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app auth¶
Manage authentication and sessions.
Usage:
console
$ app auth [OPTIONS] COMMAND [ARGS]...
Options:
--help: Show this message and exit.
Commands:
status: Show the current authentication and...login: Authenticate and persist a usable session.logout: Log out and clear local session persistence.keyring: Manage stored keyring credentials.
app auth status¶
Show the current authentication and session status.
Usage:
console
$ app auth status [OPTIONS]
Options:
--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app auth login¶
Authenticate and persist a usable session.
Usage:
console
$ app auth login [OPTIONS]
Options:
--username: Apple ID username.--session-dir: Directory to store session and cookie files.--password: Apple ID password. If omitted, pyicloud will use the system keyring or prompt interactively.--china-mainland: Use China mainland Apple web service endpoints.--interactive / --non-interactive: Enable or disable interactive prompts. [default: interactive]--accept-terms: Automatically accept pending Apple iCloud web terms.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app auth logout¶
Log out and clear local session persistence.
Usage:
console
$ app auth logout [OPTIONS]
Options:
--keep-trusted: Preserve trusted-browser state for the next login.--all-sessions: Attempt to sign out all browser sessions.--remove-keyring: Delete the stored password for the selected account after logout.--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app auth keyring¶
Manage stored keyring credentials.
Usage:
console
$ app auth keyring [OPTIONS] COMMAND [ARGS]...
Options:
--help: Show this message and exit.
Commands:
delete: Delete a stored keyring password.
app auth keyring delete¶
Delete a stored keyring password.
Usage:
console
$ app auth keyring delete [OPTIONS]
Options:
--username: Apple ID username.--session-dir: Directory to store session and cookie files.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app devices¶
Work with Find My devices.
Usage:
console
$ app devices [OPTIONS] COMMAND [ARGS]...
Options:
--help: Show this message and exit.
Commands:
list: List Find My devices.show: Show detailed information for one device.sound: Play a sound on a device.message: Display a message on a device.lost-mode: Enable lost mode for a device.erase: Request a remote erase for a device.export: Export a device snapshot to JSON.
app devices list¶
List Find My devices.
Usage:
console
$ app devices list [OPTIONS]
Options:
--locate: Fetch current device locations.--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--with-family: Include family devices in Find My device listings.--refresh-interval: Seconds between Find My location refreshes (default: 300). Ondevices list, turns the command into a watch loop that re-locates and re-lists at this cadence until interrupted.--iterations: Stop after N listing runs (requires --refresh-interval; default: watch until interrupted). [x>=1]--one-factor: Run this command with a password-only sign-in, skipping the two-factor prompt. Apple grants that to Find My alone, and the session it creates cannot be saved, so it lasts for this one command: its cookies go to a temporary directory that is removed when the command exits, leaving your stored session untouched.--help: Show this message and exit.
app devices show¶
Show detailed information for one device.
Usage:
console
$ app devices show [OPTIONS] {device}
Arguments:
device: Device id or name. [required]
Options:
--locate: Fetch current device location.--raw: Show the raw device payload.--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--with-family: Include family devices in Find My device listings.--one-factor: Run this command with a password-only sign-in, skipping the two-factor prompt. Apple grants that to Find My alone, and the session it creates cannot be saved, so it lasts for this one command: its cookies go to a temporary directory that is removed when the command exits, leaving your stored session untouched.--help: Show this message and exit.
app devices sound¶
Play a sound on a device.
Usage:
console
$ app devices sound [OPTIONS] {device}
Arguments:
device: Device id or name. [required]
Options:
--subject: [default: Find My iPhone Alert]--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--with-family: Include family devices in Find My device listings.--one-factor: Run this command with a password-only sign-in, skipping the two-factor prompt. Apple grants that to Find My alone, and the session it creates cannot be saved, so it lasts for this one command: its cookies go to a temporary directory that is removed when the command exits, leaving your stored session untouched.--help: Show this message and exit.
app devices message¶
Display a message on a device.
Usage:
console
$ app devices message [OPTIONS] {device} {message}
Arguments:
device: Device id or name. [required]message: Message to display. [required]
Options:
--subject: [default: A Message]--silent: Do not play a sound.--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--with-family: Include family devices in Find My device listings.--one-factor: Run this command with a password-only sign-in, skipping the two-factor prompt. Apple grants that to Find My alone, and the session it creates cannot be saved, so it lasts for this one command: its cookies go to a temporary directory that is removed when the command exits, leaving your stored session untouched.--help: Show this message and exit.
app devices lost-mode¶
Enable lost mode for a device.
Usage:
console
$ app devices lost-mode [OPTIONS] {device}
Arguments:
device: Device id or name. [required]
Options:
--phone: Phone number shown in lost mode.--message: Lost mode message. [default: This iPhone has been lost. Please call me.]--passcode: New device passcode.--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--with-family: Include family devices in Find My device listings.--one-factor: Run this command with a password-only sign-in, skipping the two-factor prompt. Apple grants that to Find My alone, and the session it creates cannot be saved, so it lasts for this one command: its cookies go to a temporary directory that is removed when the command exits, leaving your stored session untouched.--help: Show this message and exit.
app devices erase¶
Request a remote erase for a device.
Usage:
console
$ app devices erase [OPTIONS] {device}
Arguments:
device: Device id or name. [required]
Options:
--message: [default: This iPhone has been lost. Please call me.]-f, --force: Skip confirmation prompt.--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--with-family: Include family devices in Find My device listings.--help: Show this message and exit.
app devices export¶
Export a device snapshot to JSON.
Usage:
console
$ app devices export [OPTIONS] {device}
Arguments:
device: Device id or name. [required]
Options:
--output: Destination JSON file. [required]--raw / --no-raw: Write the raw device payload.--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--with-family: Include family devices in Find My device listings.--one-factor: Run this command with a password-only sign-in, skipping the two-factor prompt. Apple grants that to Find My alone, and the session it creates cannot be saved, so it lasts for this one command: its cookies go to a temporary directory that is removed when the command exits, leaving your stored session untouched.--help: Show this message and exit.
app calendar¶
Inspect calendars and events.
Usage:
console
$ app calendar [OPTIONS] COMMAND [ARGS]...
Options:
--help: Show this message and exit.
Commands:
calendars: List available calendars.events: List calendar events.
app calendar calendars¶
List available calendars.
Usage:
console
$ app calendar calendars [OPTIONS]
Options:
--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app calendar events¶
List calendar events.
Usage:
console
$ app calendar events [OPTIONS]
Options:
--from: Start datetime.--to: End datetime.--period: Calendar period shortcut. [default: month]--calendar-guid: Only show events from one calendar. Filtering is applied client-side.--limit: Maximum events to show after filtering. [default: 50; x>=1]--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app contacts¶
Inspect iCloud contacts.
Usage:
console
$ app contacts [OPTIONS] COMMAND [ARGS]...
Options:
--help: Show this message and exit.
Commands:
list: List contacts.me: Show the signed-in contact card.
app contacts list¶
List contacts.
Usage:
console
$ app contacts list [OPTIONS]
Options:
--limit: Maximum contacts to show. [default: 50; x>=1]--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app contacts me¶
Show the signed-in contact card.
Usage:
console
$ app contacts me [OPTIONS]
Options:
--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app drive¶
Browse and download iCloud Drive files.
Usage:
console
$ app drive [OPTIONS] COMMAND [ARGS]...
Options:
--help: Show this message and exit.
Commands:
list: List a drive folder or inspect a file.download: Download a Drive file.
app drive list¶
List a drive folder or inspect a file.
Usage:
console
$ app drive list OPTIONS
Arguments:
path: Drive path, for example /Documents. [default: /]
Options:
--trash: Resolve the path from the trash root.--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app drive download¶
Download a Drive file.
Usage:
console
$ app drive download [OPTIONS] {path}
Arguments:
path: Drive path to the file. [required]
Options:
--output: Destination file path. [required]--trash: Resolve the path from the trash root.--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app photos¶
Browse and download iCloud Photos.
Usage:
console
$ app photos [OPTIONS] COMMAND [ARGS]...
Options:
--help: Show this message and exit.
Commands:
albums: List photo albums.shared-streams: List shared photo streams.libraries: List available photo libraries and sync...list: List photo assets.get: Show detailed metadata for a single photo...changes: List incremental photo change events.sync-cursor: Show the current sync cursor for a photo...download: Download a photo asset.sync: Synchronize photo resources into a local...watch: Watch a photo sync target and rerun it on...
app photos albums¶
List photo albums.
Usage:
console
$ app photos albums [OPTIONS]
Options:
--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app photos shared-streams¶
List shared photo streams.
Usage:
console
$ app photos shared-streams [OPTIONS]
Options:
--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app photos libraries¶
List available photo libraries and sync cursors.
Usage:
console
$ app photos libraries [OPTIONS]
Options:
--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app photos list¶
List photo assets.
Usage:
console
$ app photos list [OPTIONS]
Options:
--album: Album name. Defaults to all photos.--library: Photo library key. [default: root]--shared-stream: Use shared photo stream.--limit: Maximum photos to show. [default: 50; x>=1]--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app photos get¶
Show detailed metadata for a single photo asset.
Usage:
console
$ app photos get [OPTIONS] {photo_id}
Arguments:
photo_id: Photo asset id. [required]
Options:
--album: Album name to search before falling back to all photos.--shared-stream: Use shared photo stream.--library: Photo library key. [default: root]--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app photos changes¶
List incremental photo change events.
Usage:
console
$ app photos changes [OPTIONS]
Options:
--library: Photo library key. [default: root]--since: Sync cursor to fetch changes after.--limit: Maximum changes to show. [default: 100; x>=1]--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app photos sync-cursor¶
Show the current sync cursor for a photo library.
Usage:
console
$ app photos sync-cursor [OPTIONS]
Options:
--library: Photo library key. [default: root]--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app photos download¶
Download a photo asset.
Usage:
console
$ app photos download [OPTIONS] {photo_id}
Arguments:
photo_id: Photo asset id. [required]
Options:
--album: Album name to search before falling back to all photos.--shared-stream: Use shared photo stream.--library: Photo library key. [default: root]--output: Destination file path. [required]--version: Photo version to download. [default: original]--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app photos sync¶
Synchronize photo resources into a local directory.
Usage:
console
$ app photos sync [OPTIONS]
Options:
--directory: Destination directory for synced photos. [required]--album: Album name to sync. Repeat to sync multiple albums.--library: Photo library key. [default: root]--state-dir: Directory for persistent sync state. Defaults to/.pyicloud-state. --size: Primary photo size to sync: original, medium, or thumb. [default: original]--live-photo-size: Live photo video size to sync: original, medium, or thumb. [default: original]--folder-structure: Datetime folder layout, for example '{:%Y/%m}', or 'none' for a flat directory. [default: none]--recent: Only sync photos added within the last N days. [x>=1]--until-found: Stop after N consecutive already-current files. [x>=1]--skip-videos: Skip standalone videos and live photo video companions.--skip-live-photos: Skip live photo assets entirely.--align-raw: Treat RAW+JPEG pairs as: as-is, original, or alternative. [default: as-is]--xmp-sidecar: Export generated XMP sidecars next to synced primary photo files.--set-exif-datetime: Set JPEG EXIF created timestamps when the file does not already have them.--keep-icloud-recent-days: Delete remote assets after local confirmation unless they were taken within N days. [x>=0]--only-print-filenames: Print the target filenames without downloading them.--dry-run: Preview sync actions without writing files or state.--auto-delete: Delete local files that are no longer present remotely for this sync target.--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app photos watch¶
Watch a photo sync target and rerun it on a fixed interval.
Usage:
console
$ app photos watch [OPTIONS]
Options:
--directory: Destination directory for synced photos. [required]--album: Album name to sync. Repeat to sync multiple albums.--library: Photo library key. [default: root]--state-dir: Directory for persistent sync state. Defaults to/.pyicloud-state. --size: Primary photo size to sync: original, medium, or thumb. [default: original]--live-photo-size: Live photo video size to sync: original, medium, or thumb. [default: original]--folder-structure: Datetime folder layout, for example '{:%Y/%m}', or 'none' for a flat directory. [default: none]--recent: Only sync photos added within the last N days. [x>=1]--until-found: Stop after N consecutive already-current files. [x>=1]--skip-videos: Skip standalone videos and live photo video companions.--skip-live-photos: Skip live photo assets entirely.--align-raw: Treat RAW+JPEG pairs as: as-is, original, or alternative. [default: as-is]--xmp-sidecar: Export generated XMP sidecars next to synced primary photo files.--set-exif-datetime: Set JPEG EXIF created timestamps when the file does not already have them.--keep-icloud-recent-days: Delete remote assets after local confirmation unless they were taken within N days. [x>=0]--only-print-filenames: Print the target filenames without downloading them.--dry-run: Preview sync actions without writing files or state.--auto-delete: Delete local files that are no longer present remotely for this sync target.--interval: Poll interval in seconds between sync runs. [default: 300; x>=1]--iterations: Stop after N sync runs. Defaults to watching until interrupted. [x>=1]--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app hidemyemail¶
Manage Hide My Email aliases.
Usage:
console
$ app hidemyemail [OPTIONS] COMMAND [ARGS]...
Options:
--help: Show this message and exit.
Commands:
list: List Hide My Email aliases.generate: Generate a new relay address.reserve: Reserve a generated relay address with...update: Update alias metadata.deactivate: Deactivate an alias.reactivate: Reactivate an alias.delete: Delete an alias.
app hidemyemail list¶
List Hide My Email aliases.
Usage:
console
$ app hidemyemail list [OPTIONS]
Options:
--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app hidemyemail generate¶
Generate a new relay address.
Usage:
console
$ app hidemyemail generate [OPTIONS]
Options:
--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app hidemyemail reserve¶
Reserve a generated relay address with metadata.
Usage:
console
$ app hidemyemail reserve [OPTIONS] {email} {label}
Arguments:
email: [required]label: [required]
Options:
--note: Alias note. [default: Generated]--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app hidemyemail update¶
Update alias metadata.
Usage:
console
$ app hidemyemail update [OPTIONS] {anonymous_id} {label}
Arguments:
anonymous_id: [required]label: [required]
Options:
--note: Alias note.--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app hidemyemail deactivate¶
Deactivate an alias.
Usage:
console
$ app hidemyemail deactivate [OPTIONS] {anonymous_id}
Arguments:
anonymous_id: [required]
Options:
--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app hidemyemail reactivate¶
Reactivate an alias.
Usage:
console
$ app hidemyemail reactivate [OPTIONS] {anonymous_id}
Arguments:
anonymous_id: [required]
Options:
--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app hidemyemail delete¶
Delete an alias.
Usage:
console
$ app hidemyemail delete [OPTIONS] {anonymous_id}
Arguments:
anonymous_id: [required]
Options:
--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app reminders¶
Inspect and mutate Reminders.
Usage:
console
$ app reminders [OPTIONS] COMMAND [ARGS]...
Options:
--help: Show this message and exit.
Commands:
lists: List reminder lists.list: List reminders.get: Get one reminder.create: Create a reminder.update: Update one reminder.set-status: Mark a reminder completed or incomplete.delete: Delete a reminder.snapshot: Fetch a compound reminder snapshot for one...changes: List reminder changes since a cursor.sync-cursor: Print the current Reminders sync cursor.alarm: Work with reminder alarms.hashtag: Work with reminder hashtags.attachment: Work with reminder attachments.recurrence: Work with reminder recurrence rules.
app reminders lists¶
List reminder lists.
Usage:
console
$ app reminders lists [OPTIONS]
Options:
--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app reminders list¶
List reminders.
Usage:
console
$ app reminders list [OPTIONS]
Options:
--list-id: Reminder list id.--include-completed: Include completed reminders.--limit: Maximum reminders to show. [default: 50; x>=1]--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app reminders get¶
Get one reminder.
Usage:
console
$ app reminders get [OPTIONS] {reminder_id}
Arguments:
reminder_id: Reminder id. [required]
Options:
--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app reminders create¶
Create a reminder.
Usage:
console
$ app reminders create [OPTIONS]
Options:
--list-id: Target list id. [required]--title: Reminder title. [required]--desc: Reminder description.--completed / --not-completed: Create the reminder as completed or incomplete. [default: not-completed]--due-date: Due datetime.--priority: Apple priority number. [default: 0]--flagged / --not-flagged: Create the reminder flagged or unflagged. [default: not-flagged]--all-day / --not-all-day: Create the reminder as all-day or timed. [default: not-all-day]--time-zone: IANA time zone.--parent-reminder-id: Parent reminder id for a subtask.--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app reminders update¶
Update one reminder.
Usage:
console
$ app reminders update [OPTIONS] {reminder_id}
Arguments:
reminder_id: Reminder id. [required]
Options:
--title: Reminder title.--desc: Reminder description.--completed / --not-completed: Mark the reminder completed or incomplete.--due-date: Due datetime.--clear-due-date: Clear the due date.--priority: Apple priority.--flagged / --not-flagged: Flag or unflag the reminder.--all-day / --not-all-day: Mark as all-day or timed.--time-zone: IANA time zone.--clear-time-zone: Clear the time zone.--parent-reminder-id: Set the parent reminder id.--clear-parent-reminder: Clear the parent reminder id.--early-reminder: Early reminder before the due date, e.g. '3 hours' or '1d'. Repeat for several; replaces any existing early reminders.--clear-early-reminders: Remove every early reminder.--urgent / --not-urgent: Turn Urgent presentation alarms (iOS 26.2+) on or off.--urgent-person-id: Per-account Urgent person id, learned from a reminder the Reminders app marked Urgent.--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app reminders set-status¶
Mark a reminder completed or incomplete.
Usage:
console
$ app reminders set-status [OPTIONS] {reminder_id}
Arguments:
reminder_id: Reminder id. [required]
Options:
--completed / --not-completed: Mark the reminder completed or incomplete. [default: completed]--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app reminders delete¶
Delete a reminder.
Usage:
console
$ app reminders delete [OPTIONS] {reminder_id}
Arguments:
reminder_id: Reminder id. [required]
Options:
--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app reminders snapshot¶
Fetch a compound reminder snapshot for one list.
Usage:
console
$ app reminders snapshot [OPTIONS]
Options:
--list-id: Reminder list id. [required]--include-completed: Include completed reminders.--results-limit: Maximum reminders to request from the compound query. [default: 200; x>=1]--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app reminders changes¶
List reminder changes since a cursor.
Usage:
console
$ app reminders changes [OPTIONS]
Options:
--since: Sync cursor.--limit: Maximum changes to show. [default: 50; x>=1]--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app reminders sync-cursor¶
Print the current Reminders sync cursor.
Usage:
console
$ app reminders sync-cursor [OPTIONS]
Options:
--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app reminders alarm¶
Work with reminder alarms.
Usage:
console
$ app reminders alarm [OPTIONS] COMMAND [ARGS]...
Options:
--help: Show this message and exit.
Commands:
list: List alarms for one reminder.add-location: Add a location alarm to a reminder.
app reminders alarm list¶
List alarms for one reminder.
Usage:
console
$ app reminders alarm list [OPTIONS] {reminder_id}
Arguments:
reminder_id: Reminder id. [required]
Options:
--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app reminders alarm add-location¶
Add a location alarm to a reminder.
Usage:
console
$ app reminders alarm add-location [OPTIONS] {reminder_id}
Arguments:
reminder_id: Reminder id. [required]
Options:
--title: Location title. [required]--address: Location address. [required]--latitude: Location latitude. [required]--longitude: Location longitude. [required]--radius: Radius in meters. [default: 100.0; x>=0.0]--proximity: Trigger direction. [default: arriving]--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app reminders hashtag¶
Work with reminder hashtags.
Usage:
console
$ app reminders hashtag [OPTIONS] COMMAND [ARGS]...
Options:
--help: Show this message and exit.
Commands:
list: List hashtags for one reminder.create: Create a hashtag on one reminder.update: Update a hashtag name.delete: Delete a hashtag from one reminder.
app reminders hashtag list¶
List hashtags for one reminder.
Usage:
console
$ app reminders hashtag list [OPTIONS] {reminder_id}
Arguments:
reminder_id: Reminder id. [required]
Options:
--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app reminders hashtag create¶
Create a hashtag on one reminder.
Usage:
console
$ app reminders hashtag create [OPTIONS] {reminder_id} {name}
Arguments:
reminder_id: Reminder id. [required]name: Hashtag name. [required]
Options:
--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app reminders hashtag update¶
Update a hashtag name.
Usage:
console
$ app reminders hashtag update [OPTIONS] {reminder_id} {hashtag_id}
Arguments:
reminder_id: Reminder id. [required]hashtag_id: Hashtag id. [required]
Options:
--name: Updated hashtag name. [required]--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app reminders hashtag delete¶
Delete a hashtag from one reminder.
Usage:
console
$ app reminders hashtag delete [OPTIONS] {reminder_id} {hashtag_id}
Arguments:
reminder_id: Reminder id. [required]hashtag_id: Hashtag id. [required]
Options:
--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app reminders attachment¶
Work with reminder attachments.
Usage:
console
$ app reminders attachment [OPTIONS] COMMAND [ARGS]...
Options:
--help: Show this message and exit.
Commands:
list: List attachments for one reminder.create-url: Create a URL attachment on one reminder.update: Update one attachment.delete: Delete one attachment.
app reminders attachment list¶
List attachments for one reminder.
Usage:
console
$ app reminders attachment list [OPTIONS] {reminder_id}
Arguments:
reminder_id: Reminder id. [required]
Options:
--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app reminders attachment create-url¶
Create a URL attachment on one reminder.
Usage:
console
$ app reminders attachment create-url [OPTIONS] {reminder_id}
Arguments:
reminder_id: Reminder id. [required]
Options:
--url: Attachment URL. [required]--uti: Attachment UTI. [default: public.url]--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app reminders attachment update¶
Update one attachment.
Usage:
console
$ app reminders attachment update [OPTIONS] {reminder_id} {attachment_id}
Arguments:
reminder_id: Reminder id. [required]attachment_id: Attachment id. [required]
Options:
--url: Updated attachment URL.--uti: Updated attachment UTI.--filename: Updated attachment filename.--file-size: Updated attachment size. [x>=0]--width: Updated attachment width. [x>=0]--height: Updated attachment height. [x>=0]--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app reminders attachment delete¶
Delete one attachment.
Usage:
console
$ app reminders attachment delete [OPTIONS] {reminder_id} {attachment_id}
Arguments:
reminder_id: Reminder id. [required]attachment_id: Attachment id. [required]
Options:
--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app reminders recurrence¶
Work with reminder recurrence rules.
Usage:
console
$ app reminders recurrence [OPTIONS] COMMAND [ARGS]...
Options:
--help: Show this message and exit.
Commands:
list: List recurrence rules for one reminder.create: Create a recurrence rule on one reminder.update: Update one recurrence rule.delete: Delete one recurrence rule.
app reminders recurrence list¶
List recurrence rules for one reminder.
Usage:
console
$ app reminders recurrence list [OPTIONS] {reminder_id}
Arguments:
reminder_id: Reminder id. [required]
Options:
--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app reminders recurrence create¶
Create a recurrence rule on one reminder.
Usage:
console
$ app reminders recurrence create [OPTIONS] {reminder_id}
Arguments:
reminder_id: Reminder id. [required]
Options:
--frequency: Recurrence frequency. [default: daily]--interval: Recurrence interval. [default: 1; x>=1]--occurrence-count: Occurrence count; 0 means unlimited. [default: 0; x>=0]--first-day-of-week: First day of week; 0 is Sunday. [default: 0; 0<=x<=6]--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app reminders recurrence update¶
Update one recurrence rule.
Usage:
console
$ app reminders recurrence update [OPTIONS] {reminder_id} {rule_id}
Arguments:
reminder_id: Reminder id. [required]rule_id: Recurrence rule id. [required]
Options:
--frequency: Recurrence frequency.--interval: Recurrence interval. [x>=1]--occurrence-count: Occurrence count; 0 means unlimited. [x>=0]--first-day-of-week: First day of week; 0 is Sunday. [0<=x<=6]--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app reminders recurrence delete¶
Delete one recurrence rule.
Usage:
console
$ app reminders recurrence delete [OPTIONS] {reminder_id} {rule_id}
Arguments:
reminder_id: Reminder id. [required]rule_id: Recurrence rule id. [required]
Options:
--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app notes¶
Inspect, render, export, and manage Notes.
Usage:
console
$ app notes [OPTIONS] COMMAND [ARGS]...
Options:
--help: Show this message and exit.
Commands:
recent: List recent notes.folders: List note folders.list: List notes.search: Search notes by title.get: Get one note.create: Create a plain- or rich-text note in a...update: Replace the title and body of a supported...set-checklist-item: Check or uncheck a checklist item without...add-tag: Add a tag without replacing the note's...remove-tag: Remove one tag from this note without...remove-table: Remove one whole table and its contents...add-table: Append a plain-text table without...get-table: Read a plain-text table and its edit...set-table-cell: Replace one plain-text table cell without...resize-table: Insert or delete one row or column in a...pin: Pin or unpin an active private note...trash: Move a supported note to Recently Deleted.delete-forever: Permanently delete one private note from...restore: Restore a supported note to an explicit...replace-text: Replace one text fragment without...move: Move an active private note to a different...create-folder: Create a private Notes folder.rename-folder: Rename a private Notes folder.move-folder: Move a private Notes folder to a parent...delete-folder: Permanently delete a verified empty...render: Render a note to HTML.export: Export a note to disk.changes: List note changes since a cursor.sync-cursor: Print the current Notes sync cursor.
app notes recent¶
List recent notes.
Usage:
console
$ app notes recent [OPTIONS]
Options:
--limit: Maximum notes to show. [default: 10; x>=1]--include-deleted: Include notes from Recently Deleted.--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app notes folders¶
List note folders.
Usage:
console
$ app notes folders [OPTIONS]
Options:
--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app notes list¶
List notes.
Usage:
console
$ app notes list [OPTIONS]
Options:
--folder-id: Folder id.--all: Iterate all notes.--since: Incremental sync cursor for --all.--limit: Maximum notes to show. [default: 50; x>=1]--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app notes search¶
Search notes by title.
Usage:
console
$ app notes search [OPTIONS]
Options:
--title: Exact note title.--title-contains: Case-insensitive note title substring.--limit: Maximum notes to show. [default: 10; x>=1]--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app notes get¶
Get one note.
Usage:
console
$ app notes get [OPTIONS] {note_id}
Arguments:
note_id: Note id. [required]
Options:
--with-attachments: Include attachment metadata.--unlock: Prompt for the custom Notes password.--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app notes create¶
Create a plain- or rich-text note in a private iCloud Notes folder.
Usage:
console
$ app notes create [OPTIONS]
Options:
--title: Single-line note title. [required]--folder-id: Folder id. [required]--body-file: Read plain text from a UTF-8 file.--rich-body-file: Read rich-text paragraphs from a UTF-8 JSON file.--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app notes update¶
Replace the title and body of a supported note.
Usage:
console
$ app notes update [OPTIONS] {note_id}
Arguments:
note_id: Note id. [required]
Options:
--title: Full replacement title. [required]--body-file: Full UTF-8 plain-text replacement.--rich-body-file: Full UTF-8 rich-text JSON replacement.--if-match: Current record_change_tag from notes get --format json. [required]--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app notes set-checklist-item¶
Check or uncheck a checklist item without replacing the note.
Usage:
console
$ app notes set-checklist-item [OPTIONS] {note_id}
Arguments:
note_id: Note id. [required]
Options:
--item: Checklist item number in document order. [x>=1; required]--checked / --unchecked: Set the item's checked state.--if-match: Current record_change_tag from notes get --format json. [required]--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app notes add-tag¶
Add a tag without replacing the note's existing content.
Usage:
console
$ app notes add-tag [OPTIONS] {note_id}
Arguments:
note_id: Note id. [required]
Options:
--tag: Tag text, with an optional leading #. [required]--if-match: Current record_change_tag from notes get --format json. [required]--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app notes remove-tag¶
Remove one tag from this note without deleting the global hashtag.
Usage:
console
$ app notes remove-tag [OPTIONS] {note_id}
Arguments:
note_id: Note id. [required]
Options:
--tag: [required]--if-match: Current record_change_tag from notes get --format json. [required]--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app notes remove-table¶
Remove one whole table and its contents from this note.
Usage:
console
$ app notes remove-table [OPTIONS] {note_id}
Arguments:
note_id: Note id. [required]
Options:
--table-id: [required]--if-match: Current record_change_tag from notes get --format json. [required]--table-if-match: [required]--confirm--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app notes add-table¶
Append a plain-text table without replacing existing note content.
Usage:
console
$ app notes add-table [OPTIONS] {note_id}
Arguments:
note_id: Note id. [required]
Options:
--rows-file: UTF-8 JSON array of text rows. [required]--if-match: Current record_change_tag from notes get --format json. [required]--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app notes get-table¶
Read a plain-text table and its edit revisions.
Usage:
console
$ app notes get-table [OPTIONS] {note_id}
Arguments:
note_id: Note id. [required]
Options:
--table: One-based table number. [default: 1; x>=1]--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app notes set-table-cell¶
Replace one plain-text table cell without changing the rest of the table.
Usage:
console
$ app notes set-table-cell [OPTIONS] {note_id}
Arguments:
note_id: Note id. [required]
Options:
--table-id: Table ID from notes get-table. [required]--row: One-based row number. [x>=1; required]--column: One-based column number. [x>=1; required]--body-file: Read the replacement cell text from a UTF-8 file. [required]--if-match: Current record_change_tag from notes get-table --format json. [required]--table-if-match: Current table_change_tag from notes get-table --format json. [required]--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app notes resize-table¶
Insert or delete one row or column in a private Notes table.
Usage:
console
$ app notes resize-table [OPTIONS] {note_id}
Arguments:
note_id: Note id. [required]
Options:
--table-id: Table ID from notes get-table. [required]--axis: Resize a row or column. [required]--action: Insert or delete an axis member. [required]--index: One-based position. Insert before this position or delete it. [x>=1; required]--if-match: Current record_change_tag from notes get-table --format json. [required]--table-if-match: Current table_change_tag from notes get-table --format json. [required]--confirm-nonempty: Allow deletion of cells containing text.--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app notes pin¶
Pin or unpin an active private note without changing its body.
Usage:
console
$ app notes pin [OPTIONS] {note_id}
Arguments:
note_id: Note id. [required]
Options:
--unpin: Remove the note's pin instead.--if-match: Current record_change_tag from notes get --format json. [required]--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app notes trash¶
Move a supported note to Recently Deleted.
Usage:
console
$ app notes trash [OPTIONS] {note_id}
Arguments:
note_id: Note id. [required]
Options:
--if-match: Current record_change_tag from notes get --format json. [required]--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app notes delete-forever¶
Permanently delete one private note from Recently Deleted.
Usage:
console
$ app notes delete-forever [OPTIONS] {note_id}
Arguments:
note_id: Note id. [required]
Options:
--if-match: Current record_change_tag from notes get --format json. [required]--confirm--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app notes restore¶
Restore a supported note to an explicit private folder.
Usage:
console
$ app notes restore [OPTIONS] {note_id}
Arguments:
note_id: Note id. [required]
Options:
--folder-id: Folder id. [required]--if-match: Current record_change_tag from notes get --format json. [required]--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app notes replace-text¶
Replace one text fragment without replacing the whole note.
Usage:
console
$ app notes replace-text [OPTIONS] {note_id}
Arguments:
note_id: Note id. [required]
Options:
--find-file: Single-line UTF-8 text to find. [required]--replacement-file: Single-line UTF-8 replacement text. [required]--if-match: Current record_change_tag from notes get --format json. [required]--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app notes move¶
Move an active private note to a different private folder.
Usage:
console
$ app notes move [OPTIONS] {note_id}
Arguments:
note_id: Note id. [required]
Options:
--folder-id: Folder id. [required]--if-match: Current record_change_tag from notes get --format json. [required]--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app notes create-folder¶
Create a private Notes folder.
Usage:
console
$ app notes create-folder [OPTIONS]
Options:
--name: Name of the new folder. [required]--parent-id: Parent folder ID, if nested.--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app notes rename-folder¶
Rename a private Notes folder.
Usage:
console
$ app notes rename-folder [OPTIONS] {folder_id}
Arguments:
folder_id: Folder id. [required]
Options:
--name: Replacement folder name. [required]--if-match: Current record_change_tag from notes folders --format json. [required]--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app notes move-folder¶
Move a private Notes folder to a parent folder or the top level.
Usage:
console
$ app notes move-folder [OPTIONS] {folder_id}
Arguments:
folder_id: Folder id. [required]
Options:
--parent-id: Destination parent folder ID.--to-root: Move the folder to the top level.--if-match: Current record_change_tag from notes folders --format json. [required]--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app notes delete-folder¶
Permanently delete a verified empty private Notes folder.
Usage:
console
$ app notes delete-folder [OPTIONS] {folder_id}
Arguments:
folder_id: Folder id. [required]
Options:
--if-match: Current record_change_tag from notes folders --format json. [required]--confirm-empty: Permanently delete the folder after checking that it is empty.--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app notes render¶
Render a note to HTML.
Usage:
console
$ app notes render [OPTIONS] {note_id}
Arguments:
note_id: Note id. [required]
Options:
--preview-appearance: Preview appearance preference. [default: light]--pdf-height: Embedded PDF height in pixels. [default: 600; x>=1]--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app notes export¶
Export a note to disk.
Usage:
console
$ app notes export [OPTIONS] {note_id}
Arguments:
note_id: Note id. [required]
Options:
--output-dir: Destination directory. [required]--export-mode: Export mode. [default: archival]--assets-dir: Directory for downloaded assets in archival mode.--full-page / --fragment: Wrap exported output in a full HTML page. [default: full-page]--preview-appearance: Preview appearance preference. [default: light]--pdf-height: Embedded PDF height in pixels. [default: 600; x>=1]--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app notes changes¶
List note changes since a cursor.
Usage:
console
$ app notes changes [OPTIONS]
Options:
--since: Sync cursor.--limit: Maximum changes to show. [default: 50; x>=1]--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app notes sync-cursor¶
Print the current Notes sync cursor.
Usage:
console
$ app notes sync-cursor [OPTIONS]
Options:
--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app invites¶
Inspect Apple Invites events.
Usage:
console
$ app invites [OPTIONS] COMMAND [ARGS]...
Options:
--help: Show this message and exit.
Commands:
list: List events you host and events shared...show: Show one event in full, with its share...rsvps: List who has responded to an event.resolve: Preview an invite link without joining it.
app invites list¶
List events you host and events shared with you.
Usage:
console
$ app invites list [OPTIONS]
Options:
--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app invites show¶
Show one event in full, with its share details.
Usage:
console
$ app invites show [OPTIONS] {event_id}
Arguments:
event_id: Event id, or any unambiguous prefix of one, as shown byicloud invites list. [required]
Options:
--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app invites rsvps¶
List who has responded to an event.
Usage:
console
$ app invites rsvps [OPTIONS] {event_id}
Arguments:
event_id: Event id, or any unambiguous prefix of one, as shown byicloud invites list. [required]
Options:
--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app invites resolve¶
Preview an invite link without joining it.
Usage:
console
$ app invites resolve [OPTIONS] {short_guid}
Arguments:
short_guid: An invite link, or just its trailing part: either https://www.icloud.com/invites/008ABCDEFGHIJ or 008ABCDEFGHIJ. [required]
Options:
--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app mail¶
Read Mail and explicitly change messages or folders.
Usage:
console
$ app mail [OPTIONS] COMMAND [ARGS]...
Options:
--help: Show this message and exit.
Commands:
folders: List Mail folder IDs, names, and...senders: Read enabled sender addresses; do not...upload-draft-attachment: Upload one cached attachment; do not save...create-draft: Save explicit recipients and cached...forward-draft: Save a reply/forward to an exact source;...reply-draft: Save a reply/forward to an exact source;...edit-draft: Replace draft bodies; preserve...delete-forever: Permanently delete one exact Trash...send-draft: Immediately send one explicit saved draft;...discard-draft: Move only this verified draft to Trash;...create-folder: Create one custom folder without...rename-folder: Rename one exact custom folder within its...delete-folder: Permanently delete one custom folder; no...mark: Explicitly mark one exact message...move: Move one exact message, preserving flags;...list: List metadata, bounded by default;...get: Read exact folder-scoped metadata by...sync: Update a local metadata inventory once;...search: Search a bounded set of thread-grouped...thread: Read bounded thread metadata; --all opts...filter-messages: Enumerate unread or flagged individual...search-folders: Search selected folders separately;...export: Export selected message metadata to JSON,...download-maildrop: Download a verified Mail Drop part without...export-eml: Save original MIME bytes from Apple; never...preview: Fetch an advertised snippet as data,...filter: List bounded Unread or Flagged thread...filter-threads: Page filtered thread IDs and timestamps,...body: Print body data without rendering HTML or...download: Save an ordinary attachment to an explicit...
app mail folders¶
List Mail folder IDs, names, and advertised message counts.
Usage:
console
$ app mail folders [OPTIONS]
Options:
--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app mail senders¶
Read enabled sender addresses; do not assume the login is a Mail address.
Usage:
console
$ app mail senders [OPTIONS]
Options:
--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app mail upload-draft-attachment¶
Upload one cached attachment; do not save a draft or send an email.
Usage:
console
$ app mail upload-draft-attachment [OPTIONS]
Options:
--file: Local ordinary attachment. [required]--content-type: Bare MIME type, without parameters. [default: application/octet-stream]--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app mail create-draft¶
Save explicit recipients and cached attachments without sending an email.
Usage:
console
$ app mail create-draft [OPTIONS]
Options:
--sender: Enabled address from mail senders. [required]--subject--text-file: UTF-8 plain-text body; omitted means empty.--html-file: UTF-8 HTML; omitted derives HTML from plain text.--to: Repeat for each recipient.--cc--bcc--attachment-state: JSON handle from upload-draft-attachment; repeat for each file.--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app mail forward-draft¶
Save a reply/forward to an exact source; never infer recipients or send.
Usage:
console
$ app mail forward-draft [OPTIONS] {message_id}
Arguments:
message_id: [required]
Options:
--folder-id: Exact folder ID from mail folders. [required]--sender: Explicit enabled sender. [required]--to: Explicit recipients; repeat as needed. [required]--text-file: Full UTF-8 body, including any quoted content. [required]--html-file--cc--bcc--attachment-state--omit-original-attachments: Forward only: explicitly omit source attachments.--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app mail reply-draft¶
Save a reply/forward to an exact source; never infer recipients or send.
Usage:
console
$ app mail reply-draft [OPTIONS] {message_id}
Arguments:
message_id: [required]
Options:
--folder-id: Exact folder ID from mail folders. [required]--sender: Explicit enabled sender. [required]--to: Explicit recipients; repeat as needed. [required]--text-file: Full UTF-8 body, including any quoted content. [required]--html-file--cc--bcc--attachment-state--omit-original-attachments: Forward only: explicitly omit source attachments.--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app mail edit-draft¶
Replace draft bodies; preserve recipient/attachment state unless explicit.
Usage:
console
$ app mail edit-draft [OPTIONS] {message_id}
Arguments:
message_id: [required]
Options:
--folder-id: Exact folder ID from mail folders. [required]--sender: Current enabled draft sender. [required]--subject: Full replacement subject. [required]--text-file: Full UTF-8 plain-text replacement; may be empty. [required]--html-file: UTF-8 HTML; empty derives HTML from plain text. [required]--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--draft-state: Last draft JSON handle; required for recipients or attachments.--to--cc--bcc--attachment-state: Full replacement list of uploaded attachment JSON handles.--clear-recipients--clear-attachments--help: Show this message and exit.
app mail delete-forever¶
Permanently delete one exact Trash message; never empty the mailbox.
Usage:
console
$ app mail delete-forever [OPTIONS] {message_id}
Arguments:
message_id: [required]
Options:
--folder-id: Exact folder ID from mail folders. [required]--confirm: Irreversibly delete this one Trash message.--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app mail send-draft¶
Immediately send one explicit saved draft; never retry automatically.
Usage:
console
$ app mail send-draft [OPTIONS] {message_id}
Arguments:
message_id: [required]
Options:
--folder-id: Exact folder ID from mail folders. [required]--sender: Current enabled sender. [required]--draft-state: Last successful draft JSON handle. [required]--confirm: Send now, without an Undo Send delay.--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app mail discard-draft¶
Move only this verified draft to Trash; request seen, never destroy.
Usage:
console
$ app mail discard-draft [OPTIONS] {message_id}
Arguments:
message_id: [required]
Options:
--folder-id: Exact folder ID from mail folders. [required]--trash-id: Exact Deleted Messages folder ID. [required]--sender: Current enabled draft sender. [required]--draft-state: Last successful draft JSON handle.--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app mail create-folder¶
Create one custom folder without overwriting or retrying uncertain writes.
Usage:
console
$ app mail create-folder [OPTIONS] {name}
Arguments:
name: New Unicode leaf name, not a path. [required]
Options:
--parent-id: Optional exact parent folder ID.--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app mail rename-folder¶
Rename one exact custom folder within its current parent namespace.
Usage:
console
$ app mail rename-folder [OPTIONS] {name}
Arguments:
name: Replacement Unicode leaf name. [required]
Options:
--folder-id: Exact folder ID from mail folders. [required]--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app mail delete-folder¶
Permanently delete one custom folder; no child-tree cascade is supported.
This does not move the folder to Trash. New mail can race the emptiness check; confirming the ID explicitly acknowledges that irreversible risk.
Usage:
console
$ app mail delete-folder [OPTIONS]
Options:
--folder-id: Exact folder ID from mail folders. [required]--confirm-folder-id: Repeat the exact ID to confirm irreversible deletion and racy emptiness checks. [required]--allow-nonempty: Also permit permanent deletion of messages observed in this folder.--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app mail mark¶
Explicitly mark one exact message read/unread or flag/unflag it.
No scans or automatic retries. An uncertain outcome requires fresh metadata before an explicit retry; the acknowledgement is not a current-state snapshot.
Usage:
console
$ app mail mark [OPTIONS] {message_id}
Arguments:
message_id: Message ID from mail list. [required]
Options:
--folder-id: Exact folder ID from mail folders. [required]--action: Required flag change. [required]--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app mail move¶
Move one exact message, preserving flags; never retry an uncertain write.
Trash is a move destination, not permanent deletion. Junk and Drafts moves are unsupported. IDs can change: refresh destination metadata afterward.
Usage:
console
$ app mail move [OPTIONS] {message_id}
Arguments:
message_id: Message ID from mail list. [required]
Options:
--folder-id: Exact folder ID from mail folders. [required]--destination-id: Exact destination folder ID. [required]--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app mail list¶
List metadata, bounded by default; explicitly opt into UID paging with --all.
Usage:
console
$ app mail list [OPTIONS]
Options:
--folder-id: Exact folder ID from mail folders. [required]--limit: Total messages to fetch; with --all, the per-request page size. [default: 50; 1<=x<=1000]--all: Exhaust UID paging; --limit becomes the per-request page size.--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app mail get¶
Read exact folder-scoped metadata by message ID or UID, without bodies.
Usage:
console
$ app mail get OPTIONS
Arguments:
message_id: Message ID from mail list.
Options:
--folder-id: Exact folder ID from mail folders. [required]--uid: [x>=1]--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app mail sync¶
Update a local metadata inventory once; never modify mail or download content.
Experimental, POSIX-only. This is not a mailbox backup, an atomic snapshot, or a live watcher. Use a separate private state directory for each folder.
Usage:
console
$ app mail sync [OPTIONS]
Options:
--folder-id: Exact folder ID from mail folders. [required]--state-dir: Private directory for one account/folder; parent must exist. [required]--page-size: Records per page. [default: 50; 1<=x<=1000]--max-pages: Request budget, including the empty final page. [default: 10000; x>=1]--max-messages: [default: 100000; x>=1]--max-lookups: [default: 1000; x>=1]--max-attempts: [default: 3; x>=1]--state-timeout: SQLite lock wait in seconds. [default: 5.0; 0.001<=x<=60]--rebuild-expired: Allow a stable full rescan only for expired change history.--allow-inventory-fallback: Allow one stable full rescan for count-only change hints.--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app mail search¶
Search a bounded set of thread-grouped hits, not individual message IDs.
Usage:
console
$ app mail search [OPTIONS] {text}
Arguments:
text: Text to match within one folder. [required]
Options:
--folder-id: Exact folder ID from mail folders. [required]--field: [default: all]--limit: Maximum messages or thread hits to fetch. [default: 50; 1<=x<=1000]--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app mail thread¶
Read bounded thread metadata; --all opts into folder-scoped UID paging.
Usage:
console
$ app mail thread [OPTIONS] {thread_id}
Arguments:
thread_id: Thread-group ID from mail search. [required]
Options:
--folder-id: Exact folder ID from mail folders. [required]--limit: Total messages to fetch; with --all, the per-request page size. [default: 50; 1<=x<=1000]--all: Exhaust this folder's thread members with UID paging.--max-pages: Request budget, including the empty final page. [default: 10000; x>=1]--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app mail filter-messages¶
Enumerate unread or flagged individual messages, not grouped threads.
Usage:
console
$ app mail filter-messages [OPTIONS]
Options:
--folder-id: Exact folder ID from mail folders. [required]--filter: [required]--page-size: Records per page. [default: 50; 1<=x<=1000]--max-pages: Request budget, including the empty final page. [default: 10000; x>=1]--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app mail search-folders¶
Search selected folders separately; results are bounded thread groups.
Usage:
console
$ app mail search-folders [OPTIONS] {query}
Arguments:
query: Text to search within each selected folder. [required]
Options:
--folder-id: Explicit folder ID; repeat for each folder. [required]--field: [default: all]--limit-per-folder: [default: 50; 1<=x<=1000]--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app mail export¶
Export selected message metadata to JSON, not raw MIME or a mailbox backup.
Usage:
console
$ app mail export [OPTIONS] {message_id}
Arguments:
message_id: Message ID from mail list. [required]
Options:
--folder-id: Exact folder ID from mail folders. [required]--output: New private JSON file. [required]--include-body: Explicitly fetch and include unrendered body data.--limit: Search only the newest N messages instead of using exact ID lookup. [1<=x<=1000]--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app mail download-maildrop¶
Download a verified Mail Drop part without forwarding account credentials.
Usage:
console
$ app mail download-maildrop [OPTIONS] {message_id}
Arguments:
message_id: Message ID from mail list. [required]
Options:
--folder-id: Exact folder ID from mail folders. [required]--part-index: 1-based position in the message parts array. [x>=1; required]--output: New private destination; never a remote filename. [required]--max-bytes: Hard byte limit; default 100 MiB. [default: 104857600; x>=1]--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app mail export-eml¶
Save original MIME bytes from Apple; never reconstruct or render the message.
Usage:
console
$ app mail export-eml [OPTIONS] {message_id}
Arguments:
message_id: Message ID from mail list. [required]
Options:
--folder-id: Exact folder ID from mail folders. [required]--output: New private file for original EML bytes. [required]--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app mail preview¶
Fetch an advertised snippet as data, without opening or rendering a body.
Usage:
console
$ app mail preview [OPTIONS] {message_id}
Arguments:
message_id: Message ID from mail list. [required]
Options:
--folder-id: Exact folder ID from mail folders. [required]--limit: Search only the newest N messages instead of using exact ID lookup. [1<=x<=1000]--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app mail filter¶
List bounded Unread or Flagged thread groups, not per-message flag matches.
Usage:
console
$ app mail filter [OPTIONS]
Options:
--folder-id: Exact folder ID from mail folders. [required]--filter: One browser thread filter. [required]--limit: Maximum messages or thread hits to fetch. [default: 50; 1<=x<=1000]--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app mail filter-threads¶
Page filtered thread IDs and timestamps, not digests or individual messages.
Usage:
console
$ app mail filter-threads [OPTIONS]
Options:
--folder-id: Exact folder ID from mail folders. [required]--filter: [required]--page-size: Records per page. [default: 50; 1<=x<=1000]--max-pages: Request budget, including the empty final page. [default: 10000; x>=1]--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app mail body¶
Print body data without rendering HTML or requesting a read-state change.
Usage:
console
$ app mail body [OPTIONS] {message_id}
Arguments:
message_id: Message ID from mail list. [required]
Options:
--folder-id: Exact folder ID from mail folders. [required]--limit: Search only the newest N messages instead of using exact ID lookup. [1<=x<=1000]--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.
app mail download¶
Save an ordinary attachment to an explicit path, without overwriting.
Usage:
console
$ app mail download [OPTIONS] {message_id}
Arguments:
message_id: Message ID from mail list. [required]
Options:
--folder-id: Exact folder ID from mail folders. [required]--part-id: Attachment part ID from JSON metadata. [required]--output: New destination file in an existing directory. [required]--limit: Search only the newest N messages instead of using exact ID lookup. [1<=x<=1000]--username: Apple ID username.--session-dir: Directory to store session and cookie files.--http-proxy: HTTP proxy URL for requests.--https-proxy: HTTPS proxy URL for requests.--no-verify-ssl: Disable SSL verification for requests.--format: Output format for command results. [default: text]--log-level: Logging level for pyicloud internals. [default: warning]--help: Show this message and exit.