Rodeo CLI Reference¶
This document covers the commands, options, and flags available in the Rodeo command-line interface.
General Usage¶
Global Options¶
| Option | Description |
|---|---|
--version |
Display the CLI version number |
--help |
Display help information |
Commands¶
rodeo process¶
Process a data file through the ETL pipeline.
Arguments:
| Argument | Description |
|---|---|
config_path |
Path to the configuration file for database connection |
file_path |
Path to the data file to process |
file_type |
Type of input file: JSON or CSV |
mapping_paths |
One or more mapping files defining the ETL transformations |
Options:
| Option | Description |
|---|---|
--background |
Run the job in the background |
File Type Notes:
CSV— Standard comma-separated values formatJSON— Must be in JSONL (JSON Lines) format, with one JSON object per line
Examples:
# Process a CSV file with a single mapping
rodeo process /etc/rodeo/rodeo.conf ./data/customers.csv CSV ./mappings/customers.yaml
# Process a JSONL file with multiple mappings
rodeo process ./config.toml ./data/orders.json JSON ./mappings/orders.yaml ./mappings/order-items.yaml
# Process in the background
rodeo process /etc/rodeo/rodeo.conf ./data/large-export.csv CSV ./mappings/full-sync.yaml --background
rodeo job list¶
List all Rodeo jobs, including running and completed jobs.
Examples:
rodeo job status¶
Show the current status of a specific job.
Arguments:
| Argument | Description |
|---|---|
job_id |
The GUID of the job to check |
Examples:
rodeo job watch¶
Reconnect to a running job and view its progress in real time.
Arguments:
| Argument | Description |
|---|---|
job_id |
The GUID of the job to watch |
Examples:
rodeo job cancel¶
Cancel a running job.
Arguments:
| Argument | Description |
|---|---|
job_id |
The GUID of the job to cancel |
Examples:
rodeo health¶
Check the health of the Rodeo service components.
This command reports the status of:
- Web server — The Rodeo service API
- Job processor — The background job processing engine
Examples:
rodeo version¶
Display the Rodeo service version number.
This shows the version of the rodeo-service component, which may differ from the CLI version shown by rodeo --version.
Typical Workflow¶
- Start a job in the background:
- List all jobs:
- Check status of a specific job:
- Watch logs from a running job:
- Cancel a job if needed:
Next Steps¶
See the Configuration File guide to set up your database connections, or the Mapping Files Guide to define your ETL transformations.