Skip to main content

Examples

Examples

Preview First

Preview is the default. --apply enables writes; --dry-run overrides CLI and configured apply mode and guarantees no target-file changes.

Commandpath-header-scanner scan

Category

Header Scanning

Quick Command

path-header-scanner scan [OPTIONS]

1. Preview default​

Terminal
bash
path-header-scanner scan app

Result: Scans without writing.

2. Apply​

Terminal
bash
path-header-scanner scan app --apply

Result: Writes approved header corrections.

3. Dry-run overrides apply​

Terminal
bash
path-header-scanner scan app --apply --dry-run

Result: Simulates and writes nothing.

4. Resolve from workdir​

Terminal
bash
path-header-scanner scan src --workdir ../project

Result: Scans ../project/src.