Adding a CLI to your app with Mercenary

January 15, 2014

As I mentioned yesterday I created a new gem following this tutorial and in it we created a CLI using Thor, but since Jekyll uses Mercenary for it’s command line interface I thought I would try and swap out Thor with Mercenary this morning and see if I could still ge things to work.

It was actually really easy and you can see my commit history to see what all I had to do.

This morning I also added some missing tests to the Mercenary gem. Hopefully they will get merged in.