add simple CLI interface (fixes moodle-md.cabal)