Metadata-Version: 2.5
Name: maskflow-cli
Version: 0.2.0
Summary: Command-line interface for MaskFlow: .maskflowrc config validation and inspection
License: MIT
Requires-Python: >=3.10
Requires-Dist: maskflow-core[yaml]<0.5,>=0.4.0
Requires-Dist: maskflow-pack-india<0.2,>=0.1.0
Requires-Dist: maskflow-pack-intl<0.3,>=0.2.0
Requires-Dist: rich>=13.0
Requires-Dist: tomli-w>=1.0
Requires-Dist: typer>=0.12
Provides-Extra: dev
Requires-Dist: pytest>=8.0; extra == 'dev'
Description-Content-Type: text/markdown

# maskflow-cli

Command-line interface for [MaskFlow](https://github.com/):

```
maskflow config validate
maskflow config show --resolved
maskflow doctor
maskflow explain "<text>"
```

`maskflow doctor` checks installed versions, spaCy model presence (and
which entities that consequently disables), and `.maskflowrc` validity,
then reports enabled/disabled status for every registered entity. It
exits 0 only when every check passes.

`maskflow explain "<text>"` shows, span by span, why each piece of text
was (or wasn't) detected as PII -- the pattern/NER hit, checksum result,
context boost, and the threshold decision behind it. Spans that scored
below their entity's threshold are listed separately as NEAREST MISSES,
with the `.maskflowrc` change that would catch them. Matched text is
truncated to 8 characters unless `--full` is passed. Accepts the same
`--config`/`--set` overrides as `maskflow config`, so explanations reflect
the same resolved config a real `mask()` call would use.

See `docs/configuration.md` in the repo root for the full config reference.
