-
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
wp-cli-comform command #705
Conversation
@@ -1,6 +1,6 @@ | |||
<?php | |||
/** | |||
* Stream commands for WP-CLI | |||
* Stream command for WP-CLI |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
only one
|
||
$start = microtime( true ); | ||
$query_args = array(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed timer, a wp-cli user is advanced enough to know what is happening, and why it takes time
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@szepeviktor Fair enough. Better results can be seen with the time
command anyway.
$ time wp stream query
This must have an least one error. Please review. |
Has a very nice output. Do you need csv, json and count output?
*included |
I am OK if you reject it. It could also be a separate wp-cli community command. |
@szepeviktor Just a few CI errors to take note of: https://travis-ci.org/wp-stream/stream/jobs/52189700#L890 |
Was it CodeSniffer? |
I've done it for free. Could you give me a trial PRO licence? |
All green. |
Thanks @szepeviktor. We are using the WordPress Coding Standards project to enforce coding style, which uses PHP_CodeSniffer. Absolutely, please e-mail me your Stream Site ID [email protected] |
@szepeviktor Nicely done! Thanks for these many improvements. Please do shoot me an email when you can. |
Adding line comments...