BlogLiterately
BlogLiterately copied to clipboard
Improve error message when no argument given
hi. i installed blogliterately.
root@AR:/usr/local/blogliterately-site# blogliterately --post=test1 --format=markdown Requires at least 1 arguments, got 0 root@AR:/usr/local/blogliterately-site# how to fix it? thanks
There is no --post
flag. BlogLiterately
expects the name of a file containing a post, like this:
BlogLiterately --format=markdown test1.md
However, that is a terrible error message. It's related to this: https://github.com/ndmitchell/cmdargs/issues/34 Looks like there's a potential workaround there, maybe I'll see if I can use it.