Compact by default
Ordinary commands return bounded plain text without JSON scaffolding, ANSI decoration, or repeated labels.
Local-first iCloud CLI
icloud uses compact plain text by default, stable structured output when requested, and one public executable across local builds, npm installs, and release assets.
The current build establishes the command, output, help, completion, and man-page contract. It does not request credentials or contact iCloud yet.
CLI contract
Redirecting output does not switch formats. An agent receives the same compact default as a terminal user unless it deliberately asks for JSON.
Ordinary commands return bounded plain text without JSON scaffolding, ANSI decoration, or repeated labels.
Commands that support machine output expose an explicit --json success or error envelope with a request ID.
Errors use stable exit classes, normal output stays on stdout, and diagnostics stay on stderr.
The live command tree generates shell completions and man pages, keeping reference output aligned with the binary.
Available now
Install the package or build from source, then verify the exact binary with icloud version.
Inspect supported behavior with icloud capabilities before an agent chooses an output mode.
Generate completions for Bash, Zsh, Fish, or PowerShell directly from the installed command tree.
Generate a single root man page to stdout or the complete man-page tree into a directory.