Since I was really needing the command line export feature I forked your project and implemented the bare minimum for my personal needs. You can take a look here:
https://github.com/Gnumaru/laigter
I only made a windows build since it is the main OS I'm currently using for development.
I can make you a pull request if you want, but I did'nt had the time to make sure my changes fit your projects coding style and quality standards.