Move the printing of check command from api to the actual command.