/**
* Execute the console command.
*
* @return void
*/
public function handle()
{
$env = new Env(base_path('.env'));
$key = strtoupper($this->argument('key'));
$result = str_replace('"', '', $env->get($key));
if ($result == '' || is_null($result)) {
return $this->error("Could not find a value for [{$key}] in your .env file.");
}
return $this->comment("The value for [{$key}] is \"{$result}\".");
}