Maybe we can create a generic method to which the step definition passes the command name?