rujiali / acquia-site-factory-cli
An Acquia site factory command line tool.
Installs: 9
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 1
Forks: 0
Open Issues: 0
Type:project
Requires
- php: ^7.0
- guzzlehttp/guzzle: ^6.3
- symfony/config: ^3.3
- symfony/console: ^3.3
- symfony/dependency-injection: ^3.3
- symfony/yaml: ^3.3
Requires (Dev)
- escapestudios/symfony2-coding-standard: 3.x-dev
- phpunit/phpunit: ^6.2
- squizlabs/php_codesniffer: 3.*
This package is not auto-updated.
Last update: 2025-04-27 06:54:19 UTC
README
Acquia Site Factory Cli
Installation
Run composer install
Configuration
Put your
- Site factory username
- Site factory apikey (You can find it in your profile page)
- The site URL of your site factory UI (For example: https://www.govcms.acsitefactory.com)
- The site ID (You can find in your site factory dashboard)
in sitefactory.yml
file
Usage
Ping site factory
./bin/AcquiaSiteFactoryCli app:ping
List all backups
./bin/AcquiaSiteFactoryCli app:listBackups
List all sites
bin/AcquiaSiteFactoryCli app:listSites
Get site details
bin/AcquiaSiteFactoryCli app:getSiteDetails {site ID}
Create Backup
./bin/AcquiaSiteFactoryCli app:createBackup {backup label} {parameters (themes, database etc)}
Show latest backup URL
./bin/AcquiaSiteFactoryCli app:getLatestBackupURL
Clear site cache
./bin/AcquiaSiteFactoryCli app:clearCache
Delete backup
./bin/AcquiaSiteFactoryCli app:deleteBackup {backup ID} {callback URL} {callback method} {caller data}
Send theme notification
./bin/AcquiaSiteFactoryCli app:sendThemeNotification {scope} {event} {nid} {theme} {timestamp} {uid}
Process theme modification
./bin/AcquiaSiteFactoryCli app:processModification {sitegroup_id}
To do
🍺Add commands to cover the rest of the endpoints in Acquia site factory API reference
Credit
This project is sponsored by Australian government Department of Health