You are here

function drush_environment_show in Environment 7

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

Implements drush_hook_COMMAND for environment.

File

./environment.drush.inc, line 65
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));
}