Skip to content
Registry StackDocsDevelopment (unreleased)

caseworkctl dev start command reference

View as Markdown

Start or reuse the project’s retained local database and services.

This page is generated from the public Clap command tree for Registry Stack source version 0.45.0 and catalog SHA-256 18546dbdf436972522108829ab0f8c804142a7474cfe3841e0b8ff10e061c842. Hidden implementation commands are omitted.

Start or reuse the project’s retained local database and services. A resident supervisor owns this project’s PostgreSQL container and Casework child. Standalone sessions also own a pinned issuer container; —issuer-project borrows a separately running Base Registry Engine (BReg) session’s registered issuer. The database runs the pinned image docker.io/library/postgres:17.11@sha256:67f41722b7a8cbdb868a44a4995c846eddfdc2973bccb291ce937dce88ad5675, the Docker Official Images reference at that digest, which the supervisor pulls on the first start. Each supervised prerequisite command may run for 120 seconds, and the database and each started service have 45 seconds to answer as ready. A start that passes a deadline fails, stops what it acquired, and keeps its owner-only diagnostics in the project’s private .casework/dev/logs directory.

caseworkctl dev start [OPTIONS] [PROJECT]
ArgumentAlways requiredDefaultValuesEnvironmentDescription
[PROJECT]No.n/an/aExisting authored Casework project directory
OptionAlways requiredDefaultValuesEnvironmentDescription
--clients-file <FILE>Non/an/an/aLocal clients and their directory teams (default on first start: dev-clients.yaml in the project; retained for restarts)
--casework-port <CASEWORK_PORT>Non/an/aCASEWORKCTL_DEV_CASEWORK_PORTCasework loopback port on first start (prefers 8092 when available; retained for restarts)
--issuer-port <ISSUER_PORT>Non/an/aCASEWORKCTL_DEV_ISSUER_PORTLocal issuer loopback port on first start (prefers 8093 when available; retained for restarts)
--issuer-project <PROJECT>Non/an/an/aReady Base Registry Engine (BReg) dev project that owns the shared issuer registration
--database-port <DATABASE_PORT>Non/an/aCASEWORKCTL_DEV_DATABASE_PORTPostgreSQL loopback port on first start (prefers 15433 when available; retained for restarts)
--format <FORMAT>Nohumanhuman, jsonn/aWrite human diagnostics and reports, or one typed JSON report
-h, --helpNon/an/an/aPrint help (see a summary with ‘-h’)

After changing a public command, argument, option, default, environment binding, or help description, run cargo run --locked -p registry-cli-docs -- --write, commit crates/registry-cli-docs/catalog.json, then run npm run generate from docs/site.