Moves `stubCommand` function to `helpers/stub`