Released docs. You are viewing the documentation published with v0.48.0. Development docs are available at Latest.
Report what bregctl apply would activate for one package, running its checks without changing the database.
Contract status
Section titled “Contract status”This page is generated from the public Clap command tree for Registry Stack source version 0.48.0 and catalog SHA-256 a96331a48f2b131715c8f06aaf5784a9b96ec7cb1ed75b89d46e00051b50d3bc. Hidden implementation commands are omitted.
Description
Section titled “Description”Report what bregctl apply would activate for one package, running its checks without changing the database. A plan uses the migration credential, because apply’s checks read what only the migration role may read. It rolls back every check it runs, appends no audit entry, and holds the apply lock while it checks. Pending changes exit 0; a refusal exits 1 and names the fix.
bregctl plan [OPTIONS] --runtime-config <ABSOLUTE_FILE> --package <ABSOLUTE_DIRECTORY>Options
Section titled “Options”| Option | Always required | Repeatable | Default | Values | Environment | Description |
|---|---|---|---|---|---|---|
--runtime-config <ABSOLUTE_FILE> | Yes | No | n/a | n/a | n/a | Runtime configuration file. A symbolic link at any component of this path is refused. |
--package <ABSOLUTE_DIRECTORY> | Yes | No | n/a | n/a | n/a | Absolute target package directory. A symbolic link at any component of this path is refused. |
--backup <BINDING_PATH=BINDING_FILE> | No | Yes | n/a | n/a | n/a | Reviewed backup binding to verify as apply would, as BINDING_PATH=BINDING_FILE; without it, the plan lists the bindings apply requires |
--expected-digest <SHA256_DIGEST> | No | No | n/a | n/a | n/a | Package digest the target package must have, as package prints it; plan refuses another package before any database contact |
--format <FORMAT> | No | No | human | human, json | n/a | Emit the selected command’s report in this format |
-h, --help | No | No | n/a | n/a | n/a | Print help (see a summary with ‘-h’) |
Generation contract
Section titled “Generation contract”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.
Cookies on Registry Stack
We use optional cookies to understand how you use the main Registry Stack website and this documentation. If you contact us, we may link this activity to your enquiry. You can change your choice at any time. Read the privacy policy.
Your browser asks sites not to track you, so optional tracking stays off.
We could not use or save that choice. Optional tracking remains off.