I am the author of commandeer[1], which does similar things and has been around since 2013. Try that, too, if you're interested!
Seeing another library that makes it easier to access things from the command line is awesome, and finding that there are even more I didn't know about in the comments is even better.