-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Introduce WP-CLI stream command #499
Comments
Not sure how this would mesh with the Stream Data Exporter plugin, i.e. which would be responsible for what. |
@westonruter Can't see an intersection unless you're talking about a |
Just that |
I've created a Query Reference in our Wiki that can be used as a guide when using the WP-CLI command. |
Released in |
Could you please include the Query Ref. as PHP-doc? |
Hi @szepeviktor, thanks for the suggestion. Would you be willing to provide a pull request for this? We have Query Parameters documented in the wiki. Otherwise we will just add these to the docblock when we get around to it. |
It would be really cool if Stream data could be queried via WP-CLI, and if settings could be updated.
For example, there should be a
wp stream log
command that takes the filter arguments like--author=1
or--context=sidebars
.Also, a cool use case would be something like
wp stream log --tail
which would output a continual stream of entries as they come in. The PHP process would keep running untilCtrl-C
. Basically like Heartbeat on the command line. You could then pipe the results into something else.The text was updated successfully, but these errors were encountered: