Pull command definition into the command factory