Skip to content

From the project root, vendor dialects copies the external Dialects selected by its rootform.lock, with licenses and notices. The lock must select at least one external Dialect. Embedded Dialects, RF Vocabulary, Policy Packs, and derived content are not copied. vendor can fetch missing selected OCI content unless --offline is set.

Usage

rootform vendor dialects [options]
SHELL

Options

FlagTypeDefaultDescription
--offlineboolfalseuse no network; copy only local and installed Dialects
--projectstring""vendor what rootform.lock selects in project dir; paths stay relative to the working directory; default: the working directory
--tostring""copy into directory; default: .rootform/dialects in the project

Global options

FlagTypeDefaultDescription
-h, --helpboolfalseshow how to use rootform vendor dialects
--colormodeautocolor human output: auto|always|never; default: auto
--no-pagerboolfalseprint a long report in full instead of opening it in less

--to changes the copy destination, not which project's lock is read. The default destination is ./.rootform/dialects; when present, commands run from that project root use it exclusively for selected external Dialects. Use --offline to restrict copies to exact local or installed content. Neither vendoring nor --to changes the lock.

Start from a project whose lock selects an external Dialect, as in Add external content. The commands below do not create that selection.

rootform init . --locked --no-input
rootform vendor dialects
rootform vendor dialects --offline --to ./offline/dialects
Shell

Copied names and versions go to standard output, diagnostics to standard error. Status 0 means every selected unit was copied; 1 means selected content is invalid, missing, or differs from rootform.lock; 2 means the command was used incorrectly; 3 means no content was selected, rootform.lock is invalid, or --offline needs content that is not installed; and 4 means a file, the Rootform home, or the registry could not be read or written. See Reproduce an analysis offline.