argument('key'); $value = $this->argument('value'); if (file_exists($path)) { EnvEditor::editKey($key, $value); } else { $this->error('Cannot update a file that doesn\'t exist! Please create .env first.'); return false; } } }