https://github.com/pantheon-systems/terminus-addons-installer-plugin
Allows Terminus to trigger workflows on the platform that configure themes & plugins.
https://github.com/pantheon-systems/terminus-addons-installer-plugin
job-runner pantheon pantheon-terminal terminus terminus-plugin
Last synced: 4 months ago
JSON representation
Allows Terminus to trigger workflows on the platform that configure themes & plugins.
- Host: GitHub
- URL: https://github.com/pantheon-systems/terminus-addons-installer-plugin
- Owner: pantheon-systems
- License: mit
- Created: 2023-06-09T15:01:02.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2026-01-14T23:44:28.000Z (5 months ago)
- Last Synced: 2026-01-15T07:14:16.064Z (5 months ago)
- Topics: job-runner, pantheon, pantheon-terminal, terminus, terminus-plugin
- Language: PHP
- Homepage: https://pantheon.io
- Size: 92.8 KB
- Stars: 0
- Watchers: 6
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: CODEOWNERS
Awesome Lists containing this project
README
# Terminus Addons Installer Plugin
[](https://github.com/pantheon-systems/terminus-addons-installer-plugin/actions/workflows/test.yml)
[](https://pantheon.io/docs/oss-support-levels#actively-maintained-support)
[](https://github.com/pantheon-systems/terminus-addons-installer-plugin/tree/3.x)
Adds the `addons-install` command and sub-commands `addons-install:list` and `addons-install:run ` to Terminus. Use this Terminus Plugin to run workflows that configure themes & plugins.
Learn more about Terminus Plugins in the
[Terminus Plugins documentation](https://pantheon.io/docs/terminus/plugins)
## Configuration
These commands require no configuration
## Commands
### `addons-install` (alias `install`)
This is the base command. This command without any sub-commands will simply print the usage information and documentation.
### `addons-install:list` (alias `install:list`)
Lists available jobs.
### `addons-install:run ` (alias `install:run`)
Runs the specified job.
**Note:** Jobs will fail if a site is in SFTP mode _and_ there are outstanding changes that have not be committed to the Pantheon repository.
## Usage
* `terminus addons-install:list`
* `terminus addons-install:run . [--skip-db]`
## Installation
To install this plugin using Terminus 3:
```
terminus self:plugin:install terminus-addons-installer-plugin
```
## Testing
This example project includes four testing targets:
* `composer lint`: Syntax-check all php source files.
* `composer cs`: Code-style check.
* `composer unit`: Run unit tests with phpunit
* `composer functional`: Run functional test with bats
To run all tests together, use `composer test:all`.
Note that prior to running the tests, you should first run:
* `composer install`
* `composer install-tools`
## Help
Run `terminus help addons-install` for help.