lithium\console\command\g11n\Extract::run()
The main method of the command.
Returns
voidSource
	public function run() {
		$this->header('Message Extraction');
		if (!$data = $this->_extract()) {
			$this->error('Yielded no items.');
			return 1;
		}
		$count = count($data);
		$this->out("Yielded {$count} item(s).");
		$this->out();
		$this->header('Message Template Creation');
		if (!$this->_writeTemplate($data)) {
			$this->error('Failed to write template.');
			return 1;
		}
		$this->out();
		return 0;
	}