Thor has a [`directory`](http://rdoc.info/github/wycats/thor/Thor/Actions#directory-instance_method) helper for this.