rujiali/acquia-site-factory-cli

An Acquia site factory command line tool.

v1.0.3 2018-05-17 03:49 UTC

This package is not auto-updated.

Last update: 2024-04-14 00:33:45 UTC


README

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