v1.1.0-rc.0
Pre-releasePDFMonkey CLI v1.1.0-rc.0 Release Notes
We're thrilled to announce PDFMonkey CLI v1.1.0-rc.0, packed with awesomeness!
🚨 Upgrade Notes
If you're upgrading from v1.0.x, your existing templates may not have the .pdfmonkey.json metadata file. The CLI will still work with them, but for the best experience, you might want to reinitialize them:
pdfmonkey template init YOUR_TEMPLATE_ID -p ./your-existing-template
Be sure to back up your existing templates before running this command. Just in case.
🌟 What's New
Multi-Resource Init & Watch
You can now initialize multiple resources in a row, with an even easier UI, using a single command:
pdfmonkey init
In the same spirit, you can now watch multiple resources simultaneously (1 template + multiple snippets):
pdfmonkey watch
Snippets Management
Full support for PDFMonkey snippets! Initialize and watch snippets just like templates:
pdfmonkey snippet init
pdfmonkey snippet watch ./my-snippet
Resource-Based Commands
More intuitive command structure with resource-specific subcommands:
pdfmonkey template init
pdfmonkey template watch
Pro tip: Most of the time using pdfmonkey init and pdfmonkey watch provides a more pleasant experience.
Template & Snippet names as paths
When you manage several templates and snippets, remembering their ID is not always easy. With our new metadata setup, you can now name you folders however you want, the CLI will find the right resource.
🚀 Get Started
This release being an RC (Release Candidate), you can install it using the next tag:
npm install -g @pdfmonkey/cli@next
Happy PDFing! 📝✨
