CLI

Validate, generate, list, and inspect LOLPaths rules.

Install Python dependencies from the repository root:

uv sync

Validate all rules:

uv run lolpaths validate

Generate derived artifacts:

uv run lolpaths generate

This writes platform text files, normalized JSON, docs API JSON, and generated MDX rule pages.

List and inspect rules:

uv run lolpaths list
uv run lolpaths list --platform windows
uv run lolpaths list --category cloud
uv run lolpaths list --sensitivity critical
uv run lolpaths show ssh.private-keys

The CLI does not scan local filesystems. It validates and exports catalog data.