info(sprintf("The following environment file is used: '%s'", App::environmentFilePath())); Storage::put(sprintf('backups/%s', $this->argument('file')), Storage::get('.env')); $this->info('The environment file was successfully backed up.'); return 0; } }