Pull command input validation code into the let and name it