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

1 call to drush_print_format()
_drush_user_print_info in commands/user/user.drush.inc
Print information about a given uid

File

includes/output.inc, line 78

Code

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