postlight / parser

📜 Extract meaningful content from the chaos of a web page
https://reader.postlight.com
Apache License 2.0
5.35k stars 436 forks source link

Fix cli.js ignoring `--version` flag #750

Open pirate opened 8 months ago

pirate commented 8 months ago

Fixes issue with --version flag mentioned here: https://github.com/postlight/parser/pull/610#issuecomment-1772072583

This is needed for ArchiveBox (and many other UNIX tools) to autodetect the version.

pirate commented 4 months ago

bump, this would help us a lot over at ArchiveBox (which uses postlight internally) 🙏