Skip to content
Registry StackDocsDevelopment (unreleased)

bregctl project action-test command reference

View as Markdown

Test a named Action plan function with bounded synthetic JSON.

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

bregctl project action-test [OPTIONS] --input <JSON_FILE> --action <ACTION> <PROJECT>
ConditionRequirement
--action <ACTION> is present--input <JSON_FILE> is required.
--input <JSON_FILE> is present--action <ACTION> is required.
--expect <JSON_FILE> is presentAll of --input <JSON_FILE>, --action <ACTION> are required.
ArgumentAlways requiredDefaultValuesEnvironmentDescription
<PROJECT>Yesn/an/an/aBase Registry Engine project directory. A symbolic link at any component of this path is refused.
OptionAlways requiredDefaultValuesEnvironmentDescription
--action <ACTION>Yesn/an/an/aCompiled Action whose named plan function will run; pair with —input
--input <JSON_FILE>Non/an/an/aBounded strict JSON object using authored action input IDs, without an HTTP envelope; requires —action. A symbolic link at any component of this path is refused.
--expect <JSON_FILE>Non/an/an/aWith —action and —input, assert exact effects or refusal and optional ordered evidenceCalls mocks without printing values. A symbolic link at any component of this path is refused.
--format <FORMAT>Nohumanhuman, jsonn/aEmit the selected command’s report in this format
-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.