Example #1
0
 protected function printHelp()
 {
     $context = $this->context->getAsArray();
     $scope = $this->reflectByArgs(null, ...$context);
     $help = $this->colFormatter->format($scope, $this->_options['height_help'], $this->getScreenWidth());
     $title = $this->getHelpTitle(count($context));
     $this->writer->writeln($title, $this->_options['style.help.title']);
     $this->writer->writeln($help, $this->_options['style.help.content']);
 }