I think the president has been consistent , '' said Eliot A. Cohen , a professor at Johns Hopkins University who has written extensively on the nature of civilian command and is sometimes consulted by the administration . ''