pdftract/crates/pdftract-cli
jedarden db7fcf0097 feat(pdftract-4xu46): implement grep subcommand structure with clap parsing
Add pdftract grep subcommand with ripgrep-style flag compatibility.
Implements all flags from the plan options table with proper defaults:
- Literal match mode by default (-F style)
- -E for full regex mode
- -i for case-insensitive search
- -w for word boundaries
- -v for invert match
- -l, -c for output modes
- -j for thread control
- --ocr, --json, --highlight DIR
- --progress/--no-progress/--progress-json
- Feature-gated behind 'grep' feature flag

Unit tests cover all flag combinations and edge cases.
Stub implementation exits with code 2 pending 7.8.2-7.8.10.

Closes: pdftract-4xu46
2026-05-24 05:49:15 -04:00
..
src feat(pdftract-4xu46): implement grep subcommand structure with clap parsing 2026-05-24 05:49:15 -04:00
tests feat(pdftract-3s2i): implement Phase 5.5.2 validation filter 2026-05-24 04:57:17 -04:00
build.rs feat(pdftract-3s2i): implement Phase 5.5.2 validation filter 2026-05-24 04:57:17 -04:00
Cargo.toml feat(pdftract-4xu46): implement grep subcommand structure with clap parsing 2026-05-24 05:49:15 -04:00
pdftract-cli.cdx.json feat(pdftract-67tm8): implement MCP stdio transport with integration tests 2026-05-23 00:16:42 -04:00