public function optionOrAsk($option, $question, $default = null)
    {
        $value = $this->input->getOption($option);
        if ($value === null || Str::likeEmpty($value)) {
            $value = $this->ask($question, $default);
        }

        return $value;
    }
public function optionOrAsk($option, $question, $default = null)
    {
        $value = $this->input->getOption($option);
        if ($value === null || Str::likeEmpty($value)) {
            $value = $this->ask($question, $default);
        }

        return $value;
    }
public function optionOrAsk ( $ option , $ question , $ default = null ) { $ value = $ this -> input -> getOption ( $ option ) ; if ( $ value === null || Str :: likeEmpty ( $ value ) ) { $ value = $ this -> ask ( $ question , $ default ) ; } return $ value ; }
Get input option value or ask it if empty
@param string $option
@param string $question
@param string|null $default
@return string
Get input option value or ask it if empty