Skip to content
Registry StackDocsv0.46.0

bregctl apply command reference

View as Markdown

Apply one built package using the configured migration authority.

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

bregctl apply [OPTIONS] --runtime-config <ABSOLUTE_FILE> --package <ABSOLUTE_DIRECTORY>
OptionAlways requiredRepeatableDefaultValuesEnvironmentDescription
--runtime-config <ABSOLUTE_FILE>YesNon/an/an/aRuntime configuration file. A symbolic link at any component of this path is refused.
--package <ABSOLUTE_DIRECTORY>YesNon/an/an/aAbsolute target package directory. A symbolic link at any component of this path is refused.
--initialNoNon/an/an/aActivate the first package in an uninitialized Registry database
--backup <BINDING_PATH=BINDING_FILE>NoYesn/an/an/aReviewed backup binding the plan requires and the absolute backup binding file that satisfies it, as BINDING_PATH=BINDING_FILE
--operator-reference <REFERENCE>NoNon/an/an/aOperator change reference, at most 512 bytes, recorded as a keyed hash in the activation ledger and audit
--expected-digest <SHA256_DIGEST>NoNon/an/an/aPackage digest the target package must have, as plan and package print it; apply refuses another package before any database contact
--format <FORMAT>NoNohumanhuman, jsonn/aEmit the selected command’s report in this format
-h, --helpNoNon/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.