> This page is for Home.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://developers.webflow.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://developers.webflow.com/_mcp/server.

# v1.18.0: Sites commands and sort controls

> Manage sites directly from the CLI with new sites commands, and sort assets and CMS collections with new --sort-by and --order flags.

v1.18.0 adds a new `sites` command group for managing Webflow sites from the CLI, plus `--sort-by` and `--order` flags for `assets list` and `cms collections list`.

### Sites commands

A new `webflow sites` command group lets you list, inspect, and publish sites without leaving the terminal.

* **`sites list`** — List all sites in your workspace. Supports `--fields` to choose which columns to display and `--json` for machine-readable output.
* **`sites get <siteId>`** — Get details for a specific site, including display name, short name, time zone, and publish timestamps.
* **`sites domains --site <siteId>`** — List the custom domains configured for a site.
* **`sites publish --site <siteId>`** — Publish a site to the Webflow subdomain or to specific custom domains. Supports `--page <pageId>` to publish a single page and `--dry-run` to preview what would be published without triggering a build.

### Sort flags for assets and CMS

`assets list` and `cms collections list` now accept `--sort-by` and `--order` flags so you can control how results are returned.

* **`assets list`** supports `--sort-by displayName | originalFileName | contentType | size | lastUpdated` and `--order asc | desc` (default: `asc`).
* **`cms collections list`** supports `--sort-by displayName | slug | lastUpdated` and `--order asc | desc` (default: `asc`).
* The site picker now defaults to alphabetical order by display name.
* Invalid flag values produce a clear error message listing the valid options.