diff --git commands/core/interactive.drush.inc commands/core/interactive.drush.inc new file mode 100644 index 0000000..252819e --- /dev/null +++ commands/core/interactive.drush.inc @@ -0,0 +1,67 @@ + 'Start an interactive phpshell with a bootstrapped Drupal environment', + 'aliases' => array('ish'), + ); + return $items; +} + + +function drush_interactive_shell() { + if (drush_shell_exec("which phpsh")) { + $drushinc = DRUSH_BASE_PATH . '/drush.php'; + $phpshrc = <<