title: How can I call a console command in web application in Yii 2.0
body: <p>I have a console command to generate user report. I want to call the same from my web application. I am using Yii 2.0.0 beta version.I tried to follow answers given in this post  <a href="https://stackoverflow.com/questions/10151887/how-to-call-a-console-command-in-web-application-action-in-yii">How to call a console command in web application action in Yii?</a></p>
  
  <p>Since Yii 2.0 structure is very different from Yii 1.1 ,I get errors if I try to include command/userReportController.php .Can someone guide me on this?</p>