A syntax guide for purescript-optparse, a command-line argument parser library

While attempting to resolve https://github.com/JordanMartinez/purescript-jordans-reference/issues/472, where I port some library guides into their own repo, the developers at f-o-a-m haven’t responded to my issue here: https://github.com/f-o-a-m/purescript-optparse/issues/21

So, I’m posting the content here in hopes that others can find it more easily here than in my repo.

See this gist for an explanation on its syntax in meta-language. While you can compile it via try.purescript.org, running it will crash since it only works on Node.