Skip to content
Registry StackDocsv0.49.0

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.49.0 and catalog SHA-256 5ee58a079f1cede7ba2da71f1d8945c0b683f5f54e8d871fdbcb8648c998872c. 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.