Get the command inside the `click` event handler

Fixes https://github.com/guardian/scribe/issues/188