Update installation instructions with detail on how to require priv file

This commit is contained in:
Daniel Bachhuber 2016-08-29 15:38:54 -07:00
parent 8c26f4dafc
commit 769d2d9b05
3 changed files with 32 additions and 9 deletions

View file

@ -1,7 +1,17 @@
[Get early access to `wp profile` for only $49 per year](https://runcommand.memberful.com/checkout?plan=15360). Purchasing an early access subscription locks you into this price for as long as you stay subscribed. Subscriptions include unlimited downloads of the command, plus support and updates for the length of your subscription.
Once you've purchased a subscription, installing the `wp profile` command is a three-step process:
Once you've purchased a subscription, you can use the `wp profile` command with:
1. Download the package from the URL in the purchase email.
2. Extract the package files.
3. Run `wp --require=command.php profile` to execute the profiler.
```
wp --require=command.php profile
```
Alternatively, you can [require the command so that it's always available to WP-CLI](https://runcommand.io/to/require-file-wp-cli-yml/) when running as the current system user:
1. Extract the package files to `~/.wp-cli/runcommand-profile`
2. Edit (or create) `~/.wp-cli/config.yml` and include the following require statement:
```
require:
- runcommand-profile/command.php
```