diff --git a/contrib/wp-cli.php b/contrib/wp-cli.php new file mode 100644 index 000000000..1110b0edd --- /dev/null +++ b/contrib/wp-cli.php @@ -0,0 +1,34 @@ + + + + +# Wp-cli Recipe + +```php +require 'contrib/wp-cli.php'; +``` + +[Source](/contrib/wp-cli.php) + + + +## Configuration + +- `bin/wp` *(optional)*: set WP-CLI binary, automatically detected otherwise. + +## Usage + +```php +task('deploy:wp-core-download', function() { + run('cd {{release_or_current_path}} && {{bin/wp}} core download'); +}); +``` + + +## Configuration +### bin/wp +[Source](https://github.com/deployphp/deployer/blob/master/contrib/wp-cli.php#L17) + + +:::info Autogenerated +The value of this configuration is autogenerated on access. +::: + + + + +