{
"$type": "site.standard.document",
"bskyPostRef": {
"cid": "bafyreicrrcq7siocvsmqr2qeilwwb2r7k6q3p4ofbt2frs5r5qf6pdvtne",
"uri": "at://did:plc:25rdn5elo5izoxrmtis34zuk/app.bsky.feed.post/3mpflntrkf632"
},
"coverImage": {
"$type": "blob",
"ref": {
"$link": "bafkreif3brwt7zp5cnohdb257rsmuckfwyfmvfwscouiylcozh63o4oie4"
},
"mimeType": "image/webp",
"size": 58814
},
"path": "/paperquire_e3fdb510bbe49c/paperquire-v020-cli-for-automating-your-docs-pipeline-2ima",
"publishedAt": "2026-06-29T03:23:20.000Z",
"site": "https://dev.to",
"tags": [
"release",
"cli",
"CLI Reference",
"community templates repo",
"Download v0.2.0",
"Community Templates"
],
"textContent": "## Your docs pipeline, from the terminal\n\nPaperQuire v0.2.0 ships with a full command-line interface. Everything you can do in the desktop app — render, template, brand — now works from your terminal.\n\nThis means you can automate document generation, integrate PaperQuire into CI/CD pipelines, and batch-process entire directories of Markdown without opening the GUI.\n\n## Quick start\n\nIf you installed via Homebrew, the `paperquire` command is already on your PATH:\n\n\n\n brew install --cask paperquire/paperquire/paperquire\n\n\nVerify with:\n\n\n\n paperquire version\n\n\nThe simplest render is just:\n\n\n\n paperquire report.md\n\n\nThis produces `report.pdf` in the same directory, using the default template.\n\n## What you can do\n\n### Render with options\n\nApply templates, set metadata, control output:\n\n\n\n paperquire report.md -t corporate --title \"Q2 Report\" --author \"Jane Doe\"\n paperquire spec.md --page-size a4 --margins 0.75,0.75,0.75,0.75 --no-toc\n paperquire draft.md --watermark \"DRAFT\" -o drafts/draft.pdf\n\n\nAll 22 flags from the desktop app's Document Setup panel are available. See the full list in the CLI Reference.\n\n### Pipe through stdin/stdout\n\nPaperQuire works in Unix pipelines:\n\n\n\n cat notes.md | paperquire - --stdout > out.pdf\n\n\nUse `-` as the input file to read from stdin, and `--stdout` to write the PDF to stdout instead of a file.\n\n### Batch render directories\n\nRender every Markdown file in a directory with one command:\n\n\n\n paperquire batch ./docs -o ./out\n paperquire batch ./project --glob \"**/*.md\" -t corporate\n paperquire batch ./docs --concurrency 8 --continue-on-error\n\n\nUse `--dry-run` to preview which files would be rendered without actually producing output.\n\n### Manage templates\n\nList, inspect, create, and share templates:\n\n\n\n paperquire templates list\n paperquire templates show minimal-clean\n paperquire templates init my-template\n paperquire templates export corporate -o corporate.pqt\n paperquire templates import ./shared-template.pqt\n\n\nWe also launched a community templates repo where you can browse all built-in templates and submit your own via pull request.\n\n### Project configuration\n\nDrop a `.paperquire.yml` in your project root and every render in that directory picks up your settings automatically:\n\n\n\n template: corporate\n toc: true\n h1-page-break: true\n cover:\n title: \"Project Documentation\"\n author: \"Engineering Team\"\n company: \"Acme Corp\"\n branding:\n primary-color: \"#2563eb\"\n\n\nConfig files are resolved in order: global (`~/.paperquire/config.yml`) then project (`.paperquire.yml` walked upward), then CLI flags win.\n\n## CI/CD integration\n\nThe CLI makes it straightforward to add document generation to your build pipeline. A GitHub Actions example:\n\n\n\n - name: Generate docs\n run: |\n paperquire batch ./docs -o ./dist/docs -t corporate --continue-on-error\n\n\nUse `--dry-run` in your CI to validate Markdown and options without producing output — useful as a pre-merge check.\n\n## What's next\n\nThis is the foundation. Future CLI updates will include watch mode for live rebuilding, PDF merge for combining multiple documents, and deeper CI integrations.\n\n## Get it\n\n * Download v0.2.0 for macOS, Windows, or Linux\n * CLI Reference for the full flag and command documentation\n * Community Templates to browse and share templates\n\n\n\nOr install via Homebrew:\n\n\n\n brew install --cask paperquire/paperquire/paperquire\n",
"title": "PaperQuire v0.2.0 — CLI for Automating Your Docs Pipeline"
}