CLI reference
Rendered at build time from the continuous-gtfs command's own parser. To change this page, change the command; the site is never edited by hand. For what the commands are for and worked examples, see the CLI guide.
continuous-gtfs pipeline CLI
| Subcommand |
Summary |
schedule |
Run schedule pipeline |
diff |
Diff two GTFS zip archives |
rt-compare |
Semantically compare two GTFS-RT protobuf feeds |
realtime |
Run realtime pipeline |
dag |
Show DAG for a pipeline folder |
semantics |
Derive schedule-semantics tables (service_dates/patterns/time_profiles/trips) for a local zip or a digest |
pair-trips |
Pair a target and candidate feed's trips (schedule-semantics.md §Trip Pairing) into a trip_pairs table |
continuous-gtfs schedule
Run schedule pipeline
| Argument |
Description |
PIPELINE_DIR |
Pipeline folder with Step definitions |
| Option |
Description |
Default |
-o, --output OUTPUT |
Output zip file |
|
--env ENV |
Environment name |
production |
--now ISO-8601 |
Evaluation moment the steps see as ctx.now (default: invocation time). Use to re-evaluate a stored input as of its own moment. |
|
-v, --verbose |
Stream step progress as pipeline runs |
|
--diff-against BASELINE |
After running, diff the output against this baseline zip |
|
--diff-detail |
Show per-row content changes in the diff output (requires --diff-against) |
|
--diff-limit N |
Max rows shown per category per file in diff detail (default: 50, 0 = unlimited) |
50 |
--json-events PATH |
Write structured run events (stages, steps, validation, diff) to a JSON file |
|
--input NAME[:KIND]=PATH |
Supply a named input to the pipeline. NAME must be declared in the pipeline's INPUTS manifest; content_kind is resolved from the manifest by default, or overridden with an optional ':KIND' suffix. A file_tree input also accepts a DIRECTORY, packed with the platform's canonical packer (a .zip passes through as the archive). Repeatable. |
|
--select STEP |
Run only the named step plus its transitive dependencies (useful for isolating diff impact of a single step) |
|
--quick |
Dev-loop mode: skip input/output validation, skip zip compression on -o, and diff directly from in-memory Arrow tables. Not for verifying final correctness. |
|
--disable STEP |
Skip the named step (no-op its apply() but leave it in the DAG so dependency chains still satisfy). Mirrors the production pipelines.disabled_steps ops control — use locally to preview the behavior an operator-side disable would produce. Repeatable. |
|
continuous-gtfs diff
Diff two GTFS zip archives
| Argument |
Description |
BASELINE |
Baseline GTFS zip |
CANDIDATE |
Candidate GTFS zip to compare |
| Option |
Description |
Default |
--json |
Output JSON |
|
--detail |
Show per-row content changes with colorized field diffs |
|
--limit N |
Max rows shown per category per file (default: 50, 0 = unlimited) |
50 |
continuous-gtfs rt-compare
Semantically compare two GTFS-RT protobuf feeds
| Argument |
Description |
BASELINE |
Baseline GTFS-RT .pb file |
CANDIDATE |
Candidate GTFS-RT .pb file |
| Option |
Description |
Default |
--json |
Output JSON |
|
--limit N |
Max per-entity differences shown in text output (default: 50, 0 = unlimited) |
50 |
--timestamp-tolerance S |
Header timestamp tolerance in seconds (default: 30) |
30 |
--entity-timestamp-tolerance S |
Entity-level timestamp tolerance in seconds (default: 30) |
30 |
--position-decimal-places N |
Latitude/longitude decimal places for comparison (default: 5 = ~1m precision) |
5 |
--stale-threshold S |
Entity-staleness threshold in seconds for Level 3 (default: 300) |
300 |
continuous-gtfs realtime
Run realtime pipeline
| Argument |
Description |
PIPELINE_DIR |
Pipeline folder with Step definitions |
| Option |
Description |
Default |
-o, --output-dir OUTPUT_DIR |
Output directory; each ctx.output[name] is written as .pb and .json |
|
--env ENV |
Environment name |
production |
--now ISO-8601 |
Evaluation moment the steps see as ctx.now (default: invocation time). Use to re-evaluate a stored input as of its own moment. |
|
--input NAME[:KIND]=PATH |
Supply a named input to the pipeline. See schedule --input for resolution rules. Repeatable. |
|
--select STEP |
Run only the named step plus its transitive dependencies (useful for isolating diff impact of a single step) |
|
--disable STEP |
Skip the named step (no-op its apply() but leave it in the DAG so dependency chains still satisfy). Mirrors the production pipelines.disabled_steps ops control — use locally to preview the behavior an operator-side disable would produce. Repeatable. |
|
continuous-gtfs dag
Show DAG for a pipeline folder
| Argument |
Description |
PIPELINE_DIR |
Pipeline folder |
| Option |
Description |
Default |
--json |
Output ReactFlow JSON |
|
--mermaid |
Output Mermaid flowchart |
|
continuous-gtfs semantics
Derive schedule-semantics tables (service_dates/patterns/time_profiles/trips) for a local zip or a digest
| Argument |
Description |
SOURCE |
Local GTFS zip to derive from (omit when using --digest) |
| Option |
Description |
Default |
--digest FINGERPRINT |
Feed digest to read canonical form for, instead of a local zip (requires --base-path) |
|
--base-path PATH |
Canonical-form base path to read from with --digest (e.g. gs://bucket/schedule or a local exploded directory) |
|
-o, --output DIR |
Directory to write the four semantic parquet files + metadata.json (skip-if-exists, per specs/schedule-semantics.md) |
|
--json |
Print row-count summary as JSON |
|
continuous-gtfs pair-trips
Pair a target and candidate feed's trips (schedule-semantics.md §Trip Pairing) into a trip_pairs table
| Argument |
Description |
TARGET |
Target GTFS zip (omit when using --target-digest) |
CANDIDATE |
Candidate GTFS zip (omit when using --candidate-digest) |
| Option |
Description |
Default |
--target-digest FINGERPRINT |
Target feed digest to read canonical form for, instead of a local zip |
|
--candidate-digest FINGERPRINT |
Candidate feed digest to read canonical form for, instead of a local zip |
|
--base-path PATH |
Canonical-form base path to read from with --target-digest/--candidate-digest (e.g. gs://bucket/schedule or a local exploded directory) |
|
-o, --output DIR |
Directory to write trip_pairs.parquet + metadata.json (skip-if-exists, per specs/schedule-semantics.md) |
|
--json |
Print per-verdict row counts as JSON |
|