Skip to content
Registry StackDocsDevelopment (unreleased)

evidencectl source add command reference

View as Markdown

Connect a retained local registry through its public lookup export.

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.

Connect a retained local registry through its public lookup export. This command reviews the connection by default and reports the choices it would apply; re-run it with —apply to perform them. It drives the public Base Registry Engine commands, so a bregctl binary of this same version must be on PATH, or named by —bregctl-bin or BREGCTL_BIN.

evidencectl source add [OPTIONS] <REGISTRY>
ConditionRequirement
Command invocation--all-records and --row-claim <ROW_CLAIM> cannot be used together.
Command invocation--all-records and --row-field <ROW_FIELD> cannot be used together.
Command invocation--all-records and --row-value-file <ROW_VALUE_FILE> cannot be used together.
ArgumentAlways requiredDefaultValuesEnvironmentDescription
<REGISTRY>Yesn/an/an/aRegistry project containing a stopped retained Base Registry Engine development session
OptionAlways requiredRepeatableDefaultValuesEnvironmentDescription
--project <PROJECT>NoNo.n/an/aEvidence project directory; defaults to the current directory. This command extends an editable project or creates a source-first editable project when the directory is absent.
--entity <ENTITY>NoNon/an/an/aExisting registry entity; prompted when omitted in a terminal
--selector-field <SELECTOR_FIELD>NoNon/an/an/aExisting unique identifier field; prompted when omitted in a terminal
--fields <FIELDS>NoYesn/an/an/aExisting scalar facts to expose; comma-separated, prompted when omitted
--all-recordsNoNon/an/an/aExplicitly allow lookups across every record in the selected entity
--row-field <ROW_FIELD>NoNon/an/an/aRestrict the workload to records matching this existing field
--row-claim <ROW_CLAIM>NoNon/an/an/aAdvanced: direct workload claim name; defaults to registry_source_row
--row-value-file <ROW_VALUE_FILE>NoNon/an/an/aPrivate input file holding a nonsecret scope label as one JSON string; stored in dev-clients.yaml
--source-id <SOURCE_ID>NoNon/an/an/aSource identifier; defaults to a bounded registry- name derived from the entity
--connection <CONNECTION>NoNoregistryn/an/aShared connection name, also used for credential filenames
--client <CLIENT>NoNon/an/an/aDedicated local source client label; defaults to a bounded name derived from the source identifier
--access-profile <ACCESS_PROFILE>NoNon/an/an/aDedicated registry lookup access profile; defaults to a bounded name derived from the source identifier
--selector-profile <SELECTOR_PROFILE>NoNon/an/an/aRegistry selector profile; defaults to a bounded name derived from the source identifier
--target <TARGET>NoNon/an/an/aLocal target to extend; defaults to PROJECT/targets/local
--applyNoNon/an/an/aPerform the reviewed connection; without it this command reviews new choices only
--bregctl-bin <BREGCTL_BIN>NoNon/an/an/aPublic Base Registry Engine tooling binary; otherwise BREGCTL_BIN or bregctl on PATH
--format <output_format>NoNohumanhuman, jsonn/aSelect human-readable or machine-readable output
-h, --helpNoNon/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.