0.5.0 • Published 2 years ago
puz-cli v0.5.0
puz
A cli to convert and print .puz files
Install
yarn install puz-clipuz pdf
puz pdf crossword.puz -o myCrossword.pdfConverts 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
puz print crossword.puzSkip 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 solution
puz answer crossword.puzLogs the crossword's solution to the console.
puz stats
puz stats crossword.puzLog out the puz file's metadata
--json Log as plain json