You are here

function drush_environment_show in Environment 6

Same name and namespace in other branches
  1. 7 environment.drush.inc \drush_environment_show()

Implementation of drush_hook_COMMAND for environment.

File

./environment.drush.inc, line 60
Executes the environment_switch capabilities

Code

function drush_environment_show($workflow = NULL) {
  $func = drush_get_context('DRUSH_PIPE') ? 'drush_print_pipe' : 'drush_print_table';
  $func(environment_drush_render_current($workflow));
}