protected function listRunnableCommands(String $runnableId)
	{
		if (!Command::hasCommand($runnableId)) {
			$this->cmd->error(sprintf('[%s] is not a valid runnable id', $runnableId));
		}

		$runnable = Command::getCommandById($runnableId);
		$commands = $runnable->runnableCommands();

		$format = "| %8.60s | %-50.30s\n";
		
		foreach($commands as $command => $argument) {
			printf($format, $command, $argument);
			$this->env->sendOutput('-----------------------------------');
		}
	}
protected function listRunnableCommands(String $runnableId)
	{
		if (!Command::hasCommand($runnableId)) {
			$this->cmd->error(sprintf('[%s] is not a valid runnable id', $runnableId));
		}

		$runnable = Command::getCommandById($runnableId);
		$commands = $runnable->runnableCommands();

		$format = "| %8.60s | %-50.30s\n";
		
		foreach($commands as $command => $argument) {
			printf($format, $command, $argument);
			$this->env->sendOutput('-----------------------------------');
		}
	}
protected function listRunnableCommands ( String $ runnableId ) { if ( ! Command :: hasCommand ( $ runnableId ) ) { $ this -> cmd -> error ( sprintf ( '[%s] is not a valid runnable id' , $ runnableId ) ) ; } $ runnable = Command :: getCommandById ( $ runnableId ) ; $ commands = $ runnable -> runnableCommands ( ) ; $ format = "| %8.60s | %-50.30s\n" ; foreach ( $ commands as $ command => $ argument ) { printf ( $ format , $ command , $ argument ) ; $ this -> env -> sendOutput ( '-----------------------------------' ) ; } }
Lists commands available in a runnable object.

@param 	$runnableId <String>
@access 	protected
@return 	<void>
Lists commands available in a runnable object .