Skip to content

Instantly share code, notes, and snippets.

@schnippy
Last active October 2, 2019 20:07
Show Gist options
  • Save schnippy/f20f91f8d0174555b9d0f329e864c890 to your computer and use it in GitHub Desktop.
Save schnippy/f20f91f8d0174555b9d0f329e864c890 to your computer and use it in GitHub Desktop.
Terminus Power Tips

A running collection of Pantheon Terminus commands / tips I have collected for sharing.

Running complex Drush commands will often break with 'command not found errors'

For example:

drush MySite.MyEnv config-import --partial --source=modules/custom/myModule

because it is interpreting the command line options after the intial drush command as relevant to Terminus, not Drush and won't know what to do with them.

Instead, you want to add a simple '--' before your Drush command and before adding your Drush options to let Terminus know everything that follows should be passed to Drush.

drush MySite.MyEnv -- config-import --partial --source=modules/custom/myModule

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment