Runs drag-lint's AST-level checks against a file. Reach for it to validate a file's parse tree and catch AST-detectable issues directly.
drag-lint check-ast <file> [--db PATH] [--format text|json]
<file> is the file to check; --db is an index database; --format selects text or json output.
<file>
--db
--format
text
json
drag-lint > Run AST Checks
The --db flag is optional -- drag-lint auto-resolves the index when omitted. An index must still exist.
Illustrative only:
drag-lint check-ast C:\Projects\MyApp\Unit1.pas --format json
This would run AST checks on Unit1.pas and print the results as JSON.
Unit1.pas
There was an error while loading. Please reload this page.