| title | Netlify CLI capabilities command | ||
|---|---|---|---|
| sidebar |
|
The capabilities command prints a machine-readable JSON manifest describing the CLI itself: every command and its flags, which commands support --json, the exit-code dictionary, relevant environment variables, and config file locations. It is intended for scripts and AI agents that need to discover the CLI's surface without scraping --help output.
Print a machine-readable manifest of every command, its flags, exit codes, env vars, and config files Intended for scripts and AI agents. Output is always JSON on stdout.
Usage
netlify capabilitiesFlags
json(boolean) - Output capabilities as JSON (the default; this command always outputs JSON)debug(boolean) - Print debugging informationauth(string) - Netlify auth token - can be used to run this command without logging in
Examples
netlify capabilities
netlify capabilities --json