Skip to content

CLI Reference ​

The OS entry point is culsma-os. The independent language entry point is culsma. Use culsma-os COMMAND --help for the installed command syntax.

CommandPurpose
run INPUT...Execute through the OS in the foreground and exit. Default driver: opentrons-simulator.
serveStart a persistent local host with one worker.
submit SOURCEAdmit a program to an existing host and return its run ID.
runsList saved queue entries and their current run states.
status RUN_IDInspect one saved run.
pause RUN_ID, resume RUN_ID, cancel RUN_IDRequest execution control.
host-statusInspect host readiness and blocking information.
device-statusInspect recorded device and station state.
host-stopRequest resident shutdown.
driver-run INPUT...Direct driver diagnostic path; default driver is stub. It is not the full OS execution path.

Run and Serve Options ​

OptionApplies toMeaning
--driverrun, serveSelect an installed external plugin.
--driver-config PATHrun, serveFixed device/deck configuration.
--workspace-config PATHrun, servePer-program binding and routing profiles.
--station-id IDrun, serveStable station identity.
--host-db PATHrun, servePersistent run database; required for serve.
--artifacts-dir PATHrun, serveArtifact root; run defaults to run-artifacts.
--socket PATHserveRequired local Unix-domain socket.
--material-state PATHrun, submitInitial material-state input.
--library-root PATHrun, submitAdditional import root; may be repeated.
--inventory-check PATHrunInventory input for the language pipeline.

run accepts multiple input paths. submit accepts one source path and requires --socket. Its optional --request-id permits an explicit submission identity; reusing it for a different request is a conflict, not another run.

Control Targets ​

status, pause, resume and cancel require exactly one of --socket PATH or --host-db PATH. Resident controls use the socket. A one-shot controller may also need the original driver, configuration, artifact root and station identity.

runs, host-status, device-status and host-stop require --socket. They return JSON. Control acceptance and protocol completion are separate outcomes.

Exit Status ​

Foreground run returns 0 when output.ok is true and 1 otherwise. Command/configuration errors commonly return 2. Successful resident requests return 0 even when the returned run state is not completed; inspect the JSON status.

0.2.0 manual · Apache-2.0