public function setEnvironmentVariable($key, $question = null)
    {
        $question = is_null($question) ? 'Set a value for '.$key.':' : $question;
        $currentValue = env($key);

        $value = $this->askWithCompletion($question, [$currentValue], $currentValue);

        $this->writeEnvironmentVariable($key, $value);
    }