You are here

function _coder_review_drush_print in Coder 7

Same name and namespace in other branches
  1. 7.2 coder_review/coder_review.drush.inc \_coder_review_drush_print()

Switch between print and pipe print output.

8 calls to _coder_review_drush_print()
coder_review_drush_review in coder_review/coder_review.drush.inc
Do the actual review.
coder_review_print_drush_messages in coder_review/coder_review.drush.inc
Handle printing of drupal_set_message() messages.
theme_drush_coder_review in coder_review/coder_review.drush.inc
Theme printing of results and filenames.
_coder_review_drush_xml_output_footer in coder_review/coder_review.drush.inc
XML: output appropriate footer tag.
_coder_review_drush_xml_output_header in coder_review/coder_review.drush.inc
XML: output appropriate header tag.

... See full list

File

coder_review/coder_review.drush.inc, line 334
Command line utility for coder_review.

Code

function _coder_review_drush_print($message) {
  if (drush_get_context('DRUSH_PIPE')) {
    drush_print_pipe($message);
  }
  else {
    drush_print($message);
  }
}