Added conditional doctrine commands support in console