Skip to content

CLI Reference

The remanufacture command is the primary interface for local use.

Global usage

remanufacture [OPTIONS] COMMAND [ARGS]...

pipeline commands

pipeline list

remanufacture pipeline list

Lists the names of all pipelines found in pipelines_dir.

Output: one pipeline name per line, or No pipelines found. if the directory is empty.


pipeline validate

remanufacture pipeline validate <name>

Parses and validates the pipeline DSL without executing it. Reports the source URL, target URL, and operation count.

Exit code Condition
0 Pipeline is valid
1 Pipeline not found or parse error

pipeline run

remanufacture pipeline run <name>

Executes the pipeline synchronously and waits for completion.

Exit code Condition
0 Pipeline run succeeded
1 Not found, already running, parse error, or run failed

pipeline logs

remanufacture pipeline logs <name> [run_id]

Prints the execution log for a run. If run_id is omitted, the latest run is shown.

Exit code Condition
0 Log retrieved
1 Run not found

serve

remanufacture serve [--host HOST] [--port PORT]

Starts the REST API server. Host and port default to the values in settings.toml.

remanufacture serve --host 127.0.0.1 --port 9090

See REST API for endpoint documentation.