Add helper method for CommandSpec
Apply suggestions from hlint
Reword documentation