Rename cmd => input

Input feels like a more appropriate name, as "command" may be used to
refer to actions that the player is allowed to take at any given area.