So the latest thing in my quest to provide solutions to problems that nobody has is to see what a proper man
page for Joplin (the CLI app) could look like.
I've been using the terminal app a lot recently (and yes, as ever I have some thoughts on it) and this was just something that stuck out to me as a little bit of an absence.
Unfortunately due to some of the formatting changes it won't be easy to simply automatically update it from the real help command or documentation (some of it was automated but much was still handcrafted).
If I was to do this "properly" I think the entire config section could be split out to its own (7)
page as well as cleaning up some of the terminology/syntax like option
, command
, subcommand
etc. but this is really just a proof of concept and for my own satisfaction.
To copy the readme from my repo of other such random things:
JoplinMan
No not a note taking superhero, just an attempt to see what a Joplin (CLI) manpage would look like.
Created in Markdown (with some odd formatting choices because of 1) the conversion process and 2) some potentially reserved names (like
name
which refused to have proper formatting when converted)).The .md is then converted with pandoc, compressed, placed in the local man dir and the man db updated.
If you want you don't have to use the
.md
file and pandoc at all, thegroff
(.1) file can be edited directly but isn't the friendliest thing to read or edit, hence doing it in markdown and converting.
If you want the files to install it yourself then they are on my GitHub along with the instructions to build/install it on your own system.
Below is an image of what it looks like in a terminal window: