Closed gabrielmontagne closed 4 years ago
Could be done, as well, using environment variables.
It's available in version 1.12.5 (https://www.npmjs.com/package/afterwriting/v/1.12.5). Please check https://github.com/ifrost/afterwriting-labs/blob/master/docs/clients.md for usage.
This is great news. Love your work.
Just wanted to add that I’m in the process of making afterwriting the default export option for Fountain Mode for Emacs, and having these CLI switches make for a much nicer/smoother user experience in my view:
May I ask why you opted for --setting ATTRIBUTE=VALUE
rather than --ATTRIBUTE=VALUE
? I assume there’s a technical reason so I’m just curious...
This project is great. Amazing stuff.
I'm switching from a clunky fountain -> LaTeX -> pdf workflow to this. I love it!
But it'd be great if elements from the config file could be overriden as command line arguments, for example, title page notes, watermarks, etc. for versions and dates. A bit like asciidoc(tor) does,
-a, --attribute=ATTRIBUTE
.This would help a lot on
Makefile
type workflows like mine.