Command
terminus remote:drush
Description
Runs a Drush command remotely on a site environment.
Example Usage
terminus remote:drush --progress --retry RETRY -- <site>.<env> <command>...
remote:drush <site>.<env> -- <command>
Runs the Drush command <command> remotely on <site>'s <env> environment.
remote:drush <site>.<env> --progress -- <command>
Runs a Drush command with a progress bar
remote:drush <site>.<env> --retry=3 -- <command>
Runs a Drush command with up to 3 retries on failure
drush
Options
Option | Description |
---|---|
--ansi | Force (or disable --no-ansi) ANSI output |
--define | Define a configuration item value. |
--help | Display help for the given command. When no command is given display help for the <info>list</info> command |
--no-ansi | Negate the "--ansi" option |
--no-interaction | Do not ask any interactive question |
--progress | Allow progress bar to be used (tty mode only) |
--quiet | Do not output any message |
--retry | Number of retries on failure |
--verbose | Increase the verbosity of messages: 1 for normal output (-v), 2 for more verbose output (-vv), and 3 for debug (-vvv) |
--version | Display this application version |
--yes | Answer all confirmations with "yes" |