Simple and elegant end-to-end testing for command-line apps