Skip to content

rujiali/acquia-site-factory-cli

Repository files navigation

CircleCI

Acquia Site Factory Cli

Installation

Run composer install

Configuration

Put your

  1. Site factory username
  2. Site factory apikey (You can find it in your profile page)
  3. The site URL of your site factory UI (For example: https://www.govcms.acsitefactory.com)
  4. 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

About

A command line wrapper app for Acquia site factory RESTFUL API.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages