Add check argument (#45)

* Add check argument

By specifying the --check argument, the program will exit with a code of 1. This is useful if using as part of a CI pipeline that should fail if changes are neccesary

* Remove extra newlines
4 files changed