EPecho-pdf docs
CLI

One command surface, same six primitives.

The local CLI is aligned to the same six primitives as the package API. Use top-level commands for the mainline workflow; legacy aliases may remain for compatibility.

Primary command mapping

echo-pdf document ./sample.pdf
echo-pdf structure ./sample.pdf
echo-pdf semantic ./sample.pdf
echo-pdf page ./sample.pdf --page 1
echo-pdf render ./sample.pdf --page 1
echo-pdf ocr ./sample.pdf --page 1 --model gpt-4.1-mini

Source checkout workflow

npm install
npm run document:dev -- document ./fixtures/smoke.pdf
npm run document:dev -- structure ./fixtures/smoke.pdf
npm run document:dev -- semantic ./fixtures/smoke.pdf
npm run document:dev -- page ./fixtures/smoke.pdf --page 1

What stays out of the way

  • no docs-site service backend
  • no MCP-first framing on this page
  • no hosted dashboards or remote playgrounds
  • no domain-specific command families

This is still a local component CLI.

Service and MCP commands may exist for compatibility, but this reference intentionally centers the local-first CLI workflow that writes workspace artifacts on the current machine.