function drush_help_html_command_list

8.0.x help.drush.inc drush_help_html_command_list($commands)
6.x help.drush.inc drush_help_html_command_list($commands)
7.x help.drush.inc drush_help_html_command_list($commands)
4.x help.drush.inc drush_help_html_command_list($commands)
5.x help.drush.inc drush_help_html_command_list($commands)
1 call to drush_help_html_command_list()
drush_help_listing_print in commands/core/help.drush.inc
Print CLI table or HTML table listing all commands.

File

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

Code

function drush_help_html_command_list($commands) {
  // Command table
  $output = "<table>\n";
  foreach ($commands as $key => $command) {
    $output .= "  <tr><td><a href=\"#$key\">$key</a></td><td>" . $command['description'] . "</td></tr>\n";
  }
  $output .= "</table>\n";

  return $output;
}