Drush enable module command automation

Events happening in the community are now at Drupal community events on www.drupal.org.
Posted by tusharkanta on February 21, 2010 at 7:06am

Drush enable command for enabling modules requires some human intervention with input to type in Y/N when prompted. Is there any way to do it fully automatically through some api or script calls?

Comments

Use -y or --yes to assume yes

Posted by mig5 on February 21, 2010 at 7:19am

Use -y or --yes to assume yes to Y/n questions.

web@li35-166:~$ drush help | grep yes
-y, --yes Assume 'yes' as answer to all prompts

This question is probably more suited to the Drush group than Aegir

Expect

Posted by borfast on February 21, 2010 at 10:16am

tusharkanta, have you tried expect?

Edit: sorry, got the wrong name the first time.

Aegir hosting system

Group organizers

Group categories

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

AltStyle によって変換されたページ (->オリジナル) /