Command Line to Export Pages and Data

I’d love to be able to access Export public pages, Export as JSON, etc via a command line interface.

The ability to automate exporting would pair really nicely with the logseq/publish project. I’d use this to create a custom autopublishing blog sourced from my own knowledge base.