A cli to convert and print .puz files
yarn install puz-cli
puz pdf crossword.puz -o myCrossword.pdf
Converts a puz file to a pdf
-o, --output Choose the output file path, defaults to the same as the input
-d, --debugTemplate Output the html file that is given to puppeteer
puz print crossword.puz
Skip opening the pdf and go straight to print! (Brings up a dialogue for choosing the printer)
Note: currently using a pretty limited package for printing that probably only works on unix computers and requires a pdf to be created before printing.
puz answer crossword.puz
Logs the crossword's solution to the console.
puz stats crossword.puz
Log out the puz file's metadata
--json Log as plain json