public function createEnvironmentFile($reset)
    {
        $path = app()->environmentFilePath();
        $shouldCreateFile = ! file_exists($path) || $reset;

        if ($shouldCreateFile) {
            $description = 'Creating environment file';
            $this->output->write('<comment>' . $description . '...</comment> ');
            copy(base_path('.env.example'), $path);
            $this->output->write('Done!' . PHP_EOL);

            $this->reloadEnvironment();
        }
    }