pdftract/crates/pdftract-cli/src
jedarden adaf27be85 feat(pdftract-64p5): implement classify CLI subcommand and --auto flag
- Implement pdftract classify command with JSON output
- Load built-in profiles + custom profiles from --profiles DIR
- Output format: {"document_type":"invoice","confidence":0.87,"reasons":[...],"runner_up":"receipt","runner_up_confidence":0.42}
- Support --top-k, --exit-on-unknown, --pretty flags
- Implement --auto flag for extract subcommand
- Add path traversal protection for profiles directory
- Add load_profiles_from_file() and load_profiles_from_dir() to profiles/loader

Closes: pdftract-64p5
2026-05-24 15:16:56 -04:00
..
doctor feat(pdftract-3s2i): implement Phase 5.5.2 validation filter 2026-05-24 04:57:17 -04:00
grep feat(pdftract-ixzbg): implement regex engine wiring for grep subcommand 2026-05-24 06:30:02 -04:00
inspect feat(pdftract-64j83): implement column label assignment to Span.column + Line.column 2026-05-24 14:45:19 -04:00
mcp feat(pdftract-3s2i): implement Phase 5.5.2 validation filter 2026-05-24 04:57:17 -04:00
cache_cmd.rs feat(pdftract-3s2i): implement Phase 5.5.2 validation filter 2026-05-24 04:57:17 -04:00
classify.rs feat(pdftract-64p5): implement classify CLI subcommand and --auto flag 2026-05-24 15:16:56 -04:00
codegen.rs feat(pdftract-3s2i): implement Phase 5.5.2 validation filter 2026-05-24 04:57:17 -04:00
lib.rs feat(pdftract-ixzbg): implement regex engine wiring for grep subcommand 2026-05-24 06:30:02 -04:00
main.rs feat(pdftract-64p5): implement classify CLI subcommand and --auto flag 2026-05-24 15:16:56 -04:00
password.rs feat(pdftract-3s2i): implement Phase 5.5.2 validation filter 2026-05-24 04:57:17 -04:00
serve.rs feat(pdftract-e5lli): fix health endpoint JSON response and streaming endpoint 2026-05-24 06:49:21 -04:00
verify_receipt.rs feat(pdftract-3s2i): implement Phase 5.5.2 validation filter 2026-05-24 04:57:17 -04:00