Skip to content
Registry StackDocsDevelopment (unreleased)

bregctl init command reference

View as Markdown

Create an authoring project in a new directory: a domain-neutral example, one derived from an embedded reference model with --from, or a shipped starter with --template.

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

bregctl init [OPTIONS] <DESTINATION>
ConditionRequirement
--selection <FILE> is present--from <MODEL> is required.
--starter <NAME> is present--from <MODEL> is required.
Command invocation--from <MODEL> and --template <ID> cannot be used together.
Command invocation--selection <FILE> and --starter <NAME> cannot be used together.
Command invocation--selection <FILE> and --template <ID> cannot be used together.
Command invocation--starter <NAME> and --template <ID> cannot be used together.
ArgumentAlways requiredDefaultValuesEnvironmentDescription
<DESTINATION>Yesn/an/an/aNew directory that will receive the project closure. A symbolic link at any component of this path is refused.
OptionAlways requiredDefaultValuesEnvironmentDescription
--from <MODEL>Non/apublicscheman/aDerive the project from an embedded reference model instead of writing the example. Without --selection or --starter, the command asks which concepts and properties to select at the terminal
--selection <FILE>Non/an/an/aA selection document naming the concepts and properties to derive; the written project echoes one under model/selection.yaml. A symbolic link at any component of this path is refused.
--starter <NAME>Non/an/an/aA selection shipped with the model, by name
--template <ID>Non/aminimal-directory, facility-registryn/aWrite one of the shipped starter registry projects verbatim instead of the plain example or a project derived from --from
--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.