implements the show command.