Skip to content
This repository has been archived by the owner on Dec 18, 2024. It is now read-only.

pantheon-systems/terminus-retry

Repository files navigation

Terminus Retry

Important

This plugin has been archived as the retry functionality is included in core Terminus now.

CircleCI Terminus v2.x - v3.x Compatible Unofficial Support

A simple plugin that gives the ability to retry failed WP-CLI and Drush commands.

Usage

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

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.

Note that prior to running the tests, you should first run:

  • composer install
  • composer install-tools

About

Retry failed remote:wp and remote:drush commands

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published