Merge `run` and `guard` in to one method which takes a command or block.