Skip to content
Registry StackDocsDevelopment (unreleased)

caseworkctl provision command reference

View as Markdown

Create the migration and runtime roles and the database named by the runtime file.

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

caseworkctl provision [OPTIONS] --runtime-config <FILE>
ConditionRequirement
Command invocation--admin-url-env <ADMIN_URL_ENV> and --admin-url-file <ADMIN_URL_FILE> cannot be used together.
Command invocation--admin-url-env <ADMIN_URL_ENV> and --print-sql cannot be used together.
Command invocation--admin-url-file <ADMIN_URL_FILE> and --print-sql cannot be used together.
OptionAlways requiredDefaultValuesEnvironmentDescription
--runtime-config <FILE>Yesn/an/an/aRuntime configuration file, the one the service runs with
--admin-url-file <ADMIN_URL_FILE>Non/an/an/aFile holding the administrator PostgreSQL URL
--admin-url-env <ADMIN_URL_ENV>Non/an/an/aName of the environment variable holding the administrator PostgreSQL URL
--print-sqlNon/an/an/aPrint the SQL script and connect to nothing
--posture <POSTURE>Non/an/an/aDeclared posture: development or production. Unset means production
--format <FORMAT>Nohumanhuman, jsonn/aWrite human diagnostics and reports, or one typed JSON report
-h, --helpNon/an/an/aPrint help

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.