Add rudimentary command-line interface

Yes, that option should probably be added at some point (-d, --directory). However, I think we should retain the possibility to output to stdout. It might still be useful for partial templates or the like.