Skip to content
Cockpit0.29.0
A snapshot: read at commit 707a04c7ce8 on 2026-10-18T00:06:01Z by majordomus 0.29.0. Nothing on this page is read again. See it live

majordomus prs trains

The trains of stacked pull requests, in landing order: each link's disposition, relation to master, prepared head under `refs/prep/<n>` (pushed or pending) and turn. Offline and read-only, from the last recorded observation; exit 10 when it is stale or absent

What it is

read only

The trains of stacked pull requests, in landing order: each link's disposition, relation to master, prepared head under `refs/prep/<n>` (pushed or pending) and turn. Offline and read-only, from the last recorded observation; exit 10 when it is stale or absent

Identity
executable.prs.trains
Program
executable
Runs
non interactive
Requires
repositorylayer

Where it appears

Command line
majordomus prs trains
Workflow
just prs-trains
MCP tool
majordomus_pull_request_trains
HTTP
/api/v1/pull-requests/trains
Declared in
apps/majordomus-cli/src/cli.rs
Capability
integration.trains

Arguments

argumentvalues fromrequiredhelp
--repo—Start the search for the repository root here (default: the current directory)
--discovery—How declarative files are enumerated
--strict—Refuse to proceed when any file of the layer carries an error diagnostic
--share—The tool distribution's share directory (kinds.yaml, schemas/); default: $MAJORDOMUS_SHARE, then the repository's own share/, then the one beside the executable
--format—Output shape