function drush_help_html

8.0.x help.drush.inc drush_help_html($commands)
6.x help.drush.inc drush_help_html($commands)
7.x help.drush.inc drush_help_html($commands)
3.x core.drush.inc drush_help_html()
4.x help.drush.inc drush_help_html($commands)
5.x help.drush.inc drush_help_html($commands)

Return an HTML page documenting all available commands and global options.

1 call to drush_help_html()
drush_core_help in commands/core/help.drush.inc
Command callback for help command. This is the default command, when none other has been specified.

File

commands/core/help.drush.inc, line 503

Code

function drush_help_html($commands) {
  // Command details
  $output = '<h3>Command detail</h3><dl>';
  foreach ($commands as $key => $command) {
    $output .= "\n<a name=\"$key\"></a><dt>$key</dt><dd><pre>\n";
    ob_start();
    drush_show_help($key);
    $output .= ob_get_clean();
    $output .= "</pre></dd>\n";
  }

  $output .= "</body></html>\n";

  return $output;
}