function drush_outputformat_html::format

master html.inc drush_outputformat_html::format($input, $metadata)

Overrides drush_outputformat::format

File

commands/core/outputformat/html.inc, line 13

Class

drush_outputformat_html
Output formatter 'html' *

Code

function format($input, $metadata) {
  $input = drush_help_visible($input);
  $global_options_command = drush_global_options_command(TRUE);
  $global_options_rows = drush_format_help_section($global_options_command, 'options');
  ob_start();
  require_once __DIR__ . '/html.tpl.php';
  $return = ob_get_clean();
  return $return;
}