We've written a Ruby CLI using Thor for a client project and we share everything we've learnt in this blog post!