Navigation
Save the current page as a PDF file.
Usage
$ cdpilot pdf [<output-path>]Arguments
| Name | Required | Description |
|---|---|---|
output-path | optional | File path for the PDF. Auto-generated if omitted. |
Examples
Export the current page to PDF
$ npx cdpilot pdfSave PDF to a specific path
$ npx cdpilot pdf /tmp/report.pdf