| Crates.io | parser-cli |
| lib.rs | parser-cli |
| version | 0.1.3 |
| created_at | 2025-03-21 03:21:42.857063+00 |
| updated_at | 2025-03-21 03:21:42.857063+00 |
| description | Command-line interface for extracting text from various file formats |
| homepage | |
| repository | https://github.com/excoffierleonard/parser |
| max_upload_size | |
| id | 1600053 |
| size | 46,418 |
Command-line interface for the parser-core library, enabling text extraction from various document formats.
# From source
cargo install --path .
# Or within the workspace
cargo build -p parser-cli
Parse one or more files and extract their text content to stdout:
parser-cli <FILES>...
Example:
parser-cli document.pdf presentation.pptx report.docx
Useful in shell pipelines:
# Count words in a document
parser-cli document.pdf | wc -w
# Search for text in multiple documents
parser-cli *.pdf | grep "search term"