I generally prefer a CLI workflow.
And yes, I do have IBM punch cards on my desk...
Anyway - as I'm learning ePub from a CLI workflow perspective I'm taking notes so that when I forget something I can look at my notes.
I'm actually taking those notes in .xhtml files and eventually will pop them out as an ePub.
But since ePub is not ideal for the distribution of scripts, scripts I'm creating for my CLI workflow I am putting on github.
https://github.com/VeryGoodErotica/geekPub
There may be bugs, always back up before running random stuff off the Internet, but I thought they may be of interest to some here - especially the resource obfuscation script.