<?php namespace Royalcms\Component\Foundation\Console;

use Royalcms\Component\Console\Command;

class EnvironmentCommand extends Command {

	/**
	 * The console command name.
	 *
	 * @var string
	 */
	protected $name = 'env';

	/**
	 * The console command description.
	 *
	 * @var string
	 */
	protected $description = "Display the current framework environment";

	/**
	 * Execute the console command.
	 *
	 * @return void
	 */
	public function fire()
	{
		$this->line('<info>Current royalcms environment:</info> <comment>'.$this->royalcms['env'].'</comment>');
	}

}
