896c7004c4
This commit also adds a help text, accessible with the `--help` flag, as well as a version text, available by using `--version`. My hope is that this commit will make the jotdown CLI a bit friendlier to use.
10 lines
312 B
Text
10 lines
312 B
Text
usage: jotdown [option] [file]
|
|
|
|
arguments:
|
|
file a djot source file. use a dash (`-`) or no argument
|
|
to read from stdin
|
|
|
|
options:
|
|
-h --help show this text
|
|
-v --version show the version number
|
|
-o --output a file to write the output to. stdout if omitted
|