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.30.0 and catalog SHA-256 2221f17eae216048d4cfaf7f66e3dcd68a250f6f6de4e24b177441819192b475. 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/aprofessional-licences, agricultural-holdings, public-organizations, seed-lotsn/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’)

Run npm run generate from docs/site after changing a public command, argument, option, default, environment binding, or help description.