Skip to content

list:releases

Lists release directories on the target hosts and marks the current release with *.

Usage

bash
npx cata list:releases [options]

Options

OptionDescription
--host <name>, -H <name>Target a specific host
--config <path>, -c <path>Load a specific deploy config file
--jsonOutput result as JSON

With --json, all hosts are targeted by default (no interactive prompt) unless --host is provided, and results are aggregated into a single JSON document on stdout. Logs and errors are written to stderr.

Examples

bash
npx cata list:releases
npx cata list:releases --host production
npx cata list:releases --json

Output example