At the moment there is no option to pass argument to drush commands. This is useful in deploy scripts.
For example drush ib safe should import blocks without asking the user for a choice.

Comments

e.ruiter created an issue. See original summary.

dripa’s picture

Here's a patch

  • timKruijsen committed 1f13d43 on 8.x-1.x authored by e.ruiter
    Issue #2925825 by e.ruiter: Pass drush arguments to import commands
    
timkruijsen’s picture

Status: Active » Fixed

That's indeed a nice addition. Also thank you for the included patch!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.