Use AJAX Terminal to create a web interface around Drush through the Drupal website itself. Definitely not part of Drush core, but just got the idea, and thought I'd throw it up here before it left my head.

CommentFileSizeAuthor
#5 drushterminal.patch3.61 KBRobLoach
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

greg.1.anderson’s picture

This is a neat idea. snufkin thought so too; that's why he created the Drupal Terminal project. I'll try it out after it has a stable 6.x release.

moshe weitzman’s picture

Status: Active » Fixed

please help out at drupal terminal project. needs some work.

RobLoach’s picture

Title: Drush Web Interface » Drush Support
Project: Drush » Drupal Terminal
Version: 6.x-1.x-dev » 5.x-1.x-dev
Component: Interoperability » User interface
Status: Fixed » Active

Yeah, let's move the issue itself over there too ;-) .

snufkin’s picture

Version: 5.x-1.x-dev » 6.x-1.x-dev

I see this #641970: Handle y/n dialogues as a major blocker for this issue.

RobLoach’s picture

Status: Active » Needs review
FileSize
3.61 KB

This patch adds Drush support to the Terminal. Requires the follow up patch at #635458-11: Port to Drupal 6.

Some things missing:

  1. It should always assume yes to commands as #641970: Handle y/n dialogues isn't around yet (this is done with the -y option).
  2. Drush Terminal should depend on Terminal module.
  3. This uses exec. Not sure if it's possible to use this with Drupal already bootstrapped, but would be nice as it would save on performance.
  4. Should we also pass in a default -l option for the site to act on?
IrishGringo’s picture

Status: Needs work » Needs review

follow

greg.1.anderson’s picture

Check out the alphabetic list of all projects. I would recommend against downloading and enabling them all. ;)

snufkin’s picture

Status: Needs review » Needs work

The drush output is not pushed to the terminal itself, it reports error occurred check the command, but then it proceeds to print the output on a new screen.

Regardless, I committed, so others can join in on this easily, but i'll leave the issue open.

ceefour’s picture

Kudos to Balazs & Rob for incorporating the patch! :-)

P.S. I hate CVS too :-)

robonoob’s picture

Subscribing

Yes. All the drush output is shown on a new screen. Output is not shown in the terminal area as expected.

I found that the output correctly shown in the specified area when I use Firefox. New screen shown when I was using Google Chrome dev, without any modification on the site. I suspect the AJAX terminal library is not working on Chrome. Any idea?

robby.smith’s picture

subscribing

radj’s picture

+1

YK85’s picture

how do you open the drush terminal?
i enabled the module and put in the settings at www.mysite.com/admin/settings/drush_terminal

kotnik’s picture

Status: Needs review » Needs work

Subscribe

anssary’s picture

Subscribe

kenorb’s picture

+1

TechNikh’s picture

+1

kenorb’s picture

Priority: Normal » Minor
Issue summary: View changes