A few simple steps will free you from running your doctrine tasks from the command line.