function drush_print_format

8.0.x output.inc drush_print_format($input, $default_format, $metadata = NULL)
6.x output.inc drush_print_format($input, $default_format, $metadata = NULL)
7.x output.inc drush_print_format($input, $default_format, $metadata = NULL)
master output.inc drush_print_format($input, $default_format, $metadata = NULL)

Format some data and print it out. Respect --format option.

Related topics

File

includes/output.inc, line 80

Code

function drush_print_format($input, $default_format, $metadata = NULL) {
  drush_print(drush_format($input, $metadata, drush_get_option('format', $default_format)));
}