Delphi-RAG-Lint

drag-lint help

drag-lint: Project Rules

Since: 0.2.0-alpha

Shows the catalog of lint rules in the context of a specific project.

Read this when you want the lint rule catalog starting from the Project Manager: right-click a project and choose drag-lint: Project Rules.... From the command line the same list comes from drag-lint rules, and no index is needed.

How to run it

Full flag list: rules in the CLI reference.

Flags

FlagArgumentMeaningDefault
--json
--category<name>
--rules-dir<dir>

Where to click

  • Right-click in the Project Manager: drag-lint: Project Rules

Details

Shows the catalog of lint rules in the context of a specific project. Reach for it when you want to see which rules exist (and their categories) starting from the Project Manager rather than the drag-lint main menu.

Reaching it in the IDE

This is a RIGHT-CLICK action, not a main-menu item. Menu path: "Project Manager (right-click a project)".

Unlike the other IDE-context rows on this wiki, this one is NOT reached through the Structure form. To reach it: in RAD Studio's Project Manager, right-click a project and choose "drag-lint: Project Rules...".

Running it from the CLI

The feature map lists the underlying verb as rules. From the usage banner:

drag-lint rules [--json] [--category <name>] [--rules-dir <dir>]

Lists every lint rule (catalog).

What it needs

No index needed, per the feature map's Index column.

Example

Illustrative:

drag-lint rules --category naming --json

This would print the catalog of naming-category rules as JSON.


All features | CLI reference | IDE menus