title: Take user input in Yii2 console command
body: <p>I want to create a console command in Yii2 where I can take the input from the user.</p>
  
  <p>I have looked into the Yii2 documentation here-</p>
  
  <p><a href="http://www.yiiframework.com/doc-2.0/guide-tutorial-console.html" rel="noreferrer">http://www.yiiframework.com/doc-2.0/guide-tutorial-console.html</a></p>
  
  <p>But I could not find anything helpful.</p>
  
  <p>I have also searched on Google and StackOverflow with no luck.</p>