Regenerate readme from command docs

This commit is contained in:
Daniel Bachhuber 2016-10-10 15:05:40 -07:00
parent 0a9d002afe
commit 68abb35768

View file

@ -91,7 +91,7 @@ This package implements the following commands:
Profile each stage of the WordPress load process (bootstrap, main_query, template). Profile each stage of the WordPress load process (bootstrap, main_query, template).
~~~ ~~~
wp profile stage [<stage>] [--url=<url>] [--fields=<fields>] [--format=<format>] wp profile stage [<stage>] [--all] [--url=<url>] [--fields=<fields>] [--format=<format>]
~~~ ~~~
**OPTIONS** **OPTIONS**
@ -99,6 +99,9 @@ wp profile stage [<stage>] [--url=<url>] [--fields=<fields>] [--format=<format>]
[<stage>] [<stage>]
Drill down into a specific stage. Drill down into a specific stage.
[--all]
Expand upon all stages.
[--url=<url>] [--url=<url>]
Execute a request against a specified URL. Defaults to the home URL. Execute a request against a specified URL. Defaults to the home URL.
@ -120,16 +123,19 @@ wp profile stage [<stage>] [--url=<url>] [--fields=<fields>] [--format=<format>]
### wp profile hook ### wp profile hook
Profile key metrics for a WordPress hook (action or filter). Profile key metrics for WordPress hooks (actions and filters).
~~~ ~~~
wp profile hook <hook> [--url=<url>] [--fields=<fields>] [--format=<format>] wp profile hook [<hook>] [--all] [--url=<url>] [--fields=<fields>] [--format=<format>]
~~~ ~~~
**OPTIONS** **OPTIONS**
<hook> [<hook>]
WordPress hook (action or filter) to profile. Drill into key metrics of callbacks on a specific WordPress hook.
[--all]
Profile callbacks for all WordPress hooks.
[--url=<url>] [--url=<url>]
Execute a request against a specified URL. Defaults to the home URL. Execute a request against a specified URL. Defaults to the home URL.