public function build() {
    $options_data = $this->buildOptionsData();

    $out_text = 
      $this->buildUsageLine($this->arguments_spec->getUsage(), $options_data);

    $options_text = '';
    if ($options_data['lines']) {
      foreach($options_data['lines'] as $option_line_data) {
        $options_text .= $this->buildOptionLine($option_line_data, $options_data)."\n";
      }

      $out_text .= 
        "\n".
        ConsoleFormat::applyformatToText('bold','cyan','Options:')."\n".
        $options_text;
    }

    return $out_text;
  }
public function build() {
    $options_data = $this->buildOptionsData();

    $out_text = 
      $this->buildUsageLine($this->arguments_spec->getUsage(), $options_data);

    $options_text = '';
    if ($options_data['lines']) {
      foreach($options_data['lines'] as $option_line_data) {
        $options_text .= $this->buildOptionLine($option_line_data, $options_data)."\n";
      }

      $out_text .= 
        "\n".
        ConsoleFormat::applyformatToText('bold','cyan','Options:')."\n".
        $options_text;
    }

    return $out_text;
  }
public function build ( ) { $ options_data = $ this -> buildOptionsData ( ) ; $ out_text = $ this -> buildUsageLine ( $ this -> arguments_spec -> getUsage ( ) , $ options_data ) ; $ options_text = '' ; if ( $ options_data [ 'lines' ] ) { foreach ( $ options_data [ 'lines' ] as $ option_line_data ) { $ options_text .= $ this -> buildOptionLine ( $ option_line_data , $ options_data ) . "\n" ; } $ out_text .= "\n" . ConsoleFormat :: applyformatToText ( 'bold' , 'cyan' , 'Options:' ) . "\n" . $ options_text ; } return $ out_text ; }
Builds nicely formatted help text

@return string formatted help text
Builds nicely formatted help text