private function getOption() {
		
		// figure out which option was passed
		$searchOption = Console::findCommandOptionValue("get");
		$optionValue  = Config::getOption($searchOption);
		
		// write it out
		if (!$optionValue) {
			Console::writeError("the --get value you provided, <info>".$searchOption."</info>, does not exists in the config...");
		} else {
			$optionValue = (is_array($optionValue)) ? implode(", ",$optionValue) : $optionValue;
			$optionValue = (!$optionValue) ? "false" : $optionValue;
			Console::writeInfo($searchOption.": <ok>".$optionValue."</ok>");
		}
		
	}
private function getOption() {
		
		// figure out which option was passed
		$searchOption = Console::findCommandOptionValue("get");
		$optionValue  = Config::getOption($searchOption);
		
		// write it out
		if (!$optionValue) {
			Console::writeError("the --get value you provided, <info>".$searchOption."</info>, does not exists in the config...");
		} else {
			$optionValue = (is_array($optionValue)) ? implode(", ",$optionValue) : $optionValue;
			$optionValue = (!$optionValue) ? "false" : $optionValue;
			Console::writeInfo($searchOption.": <ok>".$optionValue."</ok>");
		}
		
	}
private function getOption ( ) { // figure out which option was passed $ searchOption = Console :: findCommandOptionValue ( "get" ) ; $ optionValue = Config :: getOption ( $ searchOption ) ; // write it out if ( ! $ optionValue ) { Console :: writeError ( "the --get value you provided, <info>" . $ searchOption . "</info>, does not exists in the config..." ) ; } else { $ optionValue = ( is_array ( $ optionValue ) ) ? implode ( ", " , $ optionValue ) : $ optionValue ; $ optionValue = ( ! $ optionValue ) ? "false" : $ optionValue ; Console :: writeInfo ( $ searchOption . ": <ok>" . $ optionValue . "</ok>" ) ; } }
Get the given option and return its value
Get the given option and return its value