jnettik/terminus-mass-run

There is no license information available for the latest version (dev-master) of this package.

Run Terminus commands on multiple Pantheon sites.

Installs: 81

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 2

Forks: 3

Open Issues: 0

Type:terminus-plugin

dev-master 2019-02-27 15:36 UTC

This package is auto-updated.

Last update: 2024-11-28 06:05:00 UTC


README

Terminus Mass Run takes a piped list of Pantheon sites runs a Terminus command on them in bulk. This takes the idea used in Terminus Mass Update and expands on it for various terminus commands. Currently supported commands are:

  • terminus remote:drush
  • terminus backup:create
  • terminus env:deploy
  • terminus connection:set
  • terminus site:upstream:clear-cache

Terminus provides several ways of getting a list of sites, the simplest being terminus site:list --format=list. The --format=list flat gets a list of site IDs that can be passed into Terminus Mass Run commands. For example, say you need to rebuild the cache on all production sites you have access too. Run:

$ terminus site:list --format=list | terminus remote:mass:drush -- cr