Skip to content

Instantly share code, notes, and snippets.

@mcdwayne
Last active March 19, 2019 22:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mcdwayne/7a7155c9a81f45c1f71faa716dc1da42 to your computer and use it in GitHub Desktop.
Save mcdwayne/7a7155c9a81f45c1f71faa716dc1da42 to your computer and use it in GitHub Desktop.
It is a real bash script that lists the plugins and themes, including if updates are available, for all sites in my maintenance org.
#!/bin/bash
SITES=$(terminus site:list --org=MYORG_UUID --field=name --format=string)
for i in $SITES
do
terminus wp $i.live -- plugin list
terminus wp $i.live -- theme list
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment