Terminal Commands/CLI for Joplin Server

Hey Everyone,

Has anyone figured out how to install the Joplin terminal (CLI) application on their Joplin Server? The reason I ask is that I want to automate the exporting of my notebooks to (single) markdown files. If Joplin Server already supports such functionality then please point me in the right direction :^)

I am currently running the v2.7.4 Joplin Server Docker image on my Synology.

Thanks for all the help.