diff --git a/bin/readme-stubs/installing.md b/bin/readme-stubs/installing.md new file mode 100644 index 0000000..bce96e4 --- /dev/null +++ b/bin/readme-stubs/installing.md @@ -0,0 +1,3 @@ +Installing this package requires WP-CLI 0.24.0-alpha or greater. Update to the latest nightly release with `wp cli update --nightly`. + +Once you've done so, you can install this package with `wp package install wp-cli/restful`. diff --git a/composer.json b/composer.json index 66917ee..b2c2cf6 100644 --- a/composer.json +++ b/composer.json @@ -12,9 +12,7 @@ "autoload": { "files": [ "wp-rest-cli.php" ] }, - "require": { - "wp-cli/wp-cli": "0.24.0-alpha" - }, + "require": {}, "require-dev": { "behat/behat": "~2.5" }, @@ -29,6 +27,9 @@ }, "using": { "body": "bin/readme-stubs/using.md" + }, + "installing": { + "body": "bin/readme-stubs/installing.md" } } }