Skip to content

list:revisions

Reads .catapult/revisions.log on the selected hosts and renders the last 10 revisions as a table with release, branch, commit, author, and date.

Usage

bash
npx cata list:revisions [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:revisions
npx cata list:revisions -H production
npx cata list:revisions --json

Output example