Skip to content
Registry StackDocsv0.46.0

bregctl history erase command reference

View as Markdown

Erase retained history for one record using an owner-only JSON request file.

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 history erase [OPTIONS] --runtime-config <ABSOLUTE_FILE> --request-file <ABSOLUTE_FILE>
OptionAlways requiredDefaultValuesEnvironmentDescription
--runtime-config <ABSOLUTE_FILE>Yesn/an/an/aRuntime configuration file. A symbolic link at any component of this path is refused.
--request-file <ABSOLUTE_FILE>Yesn/an/an/aAbsolute owner-only JSON erasure request file. Read through the parent directory this path resolves to, so a .. component is refused. The file must carry no group or other permission bits, because it names the records the erasure covers. A symbolic link at any component of this path is refused.
--acknowledge-irreversibleNon/an/an/aAcknowledge that erasure cannot be undone. Without this flag the command is refused before any file is read or any database connection is opened.
--format <FORMAT>Nohumanhuman, jsonn/aEmit the selected command’s report in this format
-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.