Example #1
0
 /**
  * Gives the user an option to choose from.
  * Giving '?' as an input will show
  * a list of options to choose from and their explanations.
  *
  * @param string $prompt the prompt message
  * @param array $options Key-value array of options to choose from
  *
  * @return string An option character the user chose
  */
 public function select($prompt, $options = [])
 {
     return Console::select($prompt, $options);
 }