Use thor for command line scripts
There is a lot of repetition in the scripts in /bin
.
The thor gem offers a framework that solves most of the task you want from an command line tool. banner-help-text, parameter parsing, etc. We could switch to a modern sub-command interface like git.
It does not have any outside dependencies and should be well sustained because it is part of rails.