pantheon_site_management
v1.0.19
Published
CLI Utility to aide in management of Pantheon organizations
Downloads
23
Readme
pantheon_site_management Utility
Required: Environment Variables:
- PANTHEON_MACHINE_TOKEN - How-to Obtain Machine Token
Installation:
npm install html-pdf -g
npm install pantheon_site_management -g
Arguments:
Accepts value via cli argument, otherwise uses environment variables --PANTHEON_MACHINE_TOKEN="SomeTokenHere"
Attempts to first load CWD/DB Database into App.Pantheon.sites.all, other wise queries Pantheon Often used in conjunction with createMultidevs or reportOutdated arguments --loadDb
During multidev creation process Upstream updates will be applied --applyUpstreamUpdates
Resets local CWD/Db, priority option analyzed first --resetDb
Examples:
*Too Add a single site to existing CWD/DB - Can be useful for collecting interesting sites into array before executing
--createMultidevs or --applyUpdates commands
pantheon_site_management --scanSites --siteName=<some new site1>,<some new site2> --loadDb
*Too Add a multiple sites to existing CWD/DB - Can be useful for collecting interesting sites into array before executing
--createMultidevs or --applyUpdates commands
pantheon_site_management --scanSites --siteName=<some new site> --loadDb
Refreshes CWD/DB File Database from Pantheon, useful to run before --createMultidevs
pantheon_site_management --scanSites --resetDb
Scans and records details of one site into clean empty CWD/Db File database
pantheon_site_management --scanSites --siteName=<sitename> --resetDb
Scans and records details of multiple comma delimited sites into clean empty CWD/Db File database
pantheon_site_management --scanSites --siteName=<sitename> --resetDb
Created multidev named "patching" for any site in CWD/DB which is out of date
pantheon_site_management --loadDb --createMultidevs
Emits html report to cwd/reports/html_report
pantheon_site_management --loadDb --reportOutdated=html
Emits pdf document report to cwd/reports/pdf_report
pantheon_site_management --loadDb --reportOutdated=pdf
Source code documentation: Show Docs