Important
This plugin has been archived as the retry functionality is included in core Terminus now.
A simple plugin that gives the ability to retry failed WP-CLI and Drush commands.
To use, add a --define="retryLimit=N"
to any remote:wp
or remote:drush
command.
Example:
terminus remote:wp mysite.dev --define="retryLimit=1" -- user get 1
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 phpunitcomposer functional
: Run functional test with bats
To run all tests together, use composer test
.
Note that prior to running the tests, you should first run:
composer install
composer install-tools