Delphi-RAG-Lint

drag-lint help

Field repository wiki pages

Since: 1.56.0-alpha

Writes one Markdown page per repository table with a section per field: caption, type, kind, descriptions and where the project index shows, edits and uses it.

Read this to produce a browsable wiki of the field repository. repo gen-wiki writes one page per table (or one per field with --per-field) and a second run with no change writes nothing; pages of tables that left the repository are listed as stale, never deleted.

How to run it

drag-lint repo gen-wiki (--repo <file> | --project <file>) --output <dir> [--per-field] [--table <T,...>] [--db <project db>] [--dry-run] [--json]

Example:

drag-lint repo gen-wiki --project <x.dproj> --output <dir> --per-field

Full flag list: repo in the CLI reference.

Flags

FlagArgumentMeaningDefault
--output<dir>
--per-field
--table<T,...>
--db<project db>
--dry-run
--json

Where to click

No IDE surface: this feature runs from the CLI (see How to run it).

Details

drag-lint repo gen-wiki (--repo <file> | --project <file>) --output <dir> [--per-field] [--table <T,...>] [--db <project db>] [--dry-run] [--json]

Writes Markdown pages from the field repository into the folder --output: one page per repository table with one anchored section per field. A section gives the caption, the type, the kind, the descriptions, and where the field is shown, edited and used by code, read from the project index.

FlagMeaning
--output <dir>the folder the pages go to
--per-fieldone page per field; the table page then becomes an index of its fields
--table <T,...>only these tables
--db <project db>the project index the shown / edited / used facts are read from
--dry-runlist what would be written, write nothing
--jsonthe result as JSON

A second run with no change writes nothing and says 0 written, N unchanged. A page of a table that left the repository is listed as stale page: FILE and is never deleted. index never writes a page: the pages are made only by this verb.

See also field-repository for the repository itself and repo-field-usage for the usage facts.


All features | CLI reference | IDE menus