Add wordpress api plugin search method. fixes #615
Update per @danielbachhuber review.
1) Move search method to CommandWithUpgrade parent class. 2) Add search method for themes. 3) add search=key replacement for plugin and theme methods that take a slug.
Comply with PHP Strict Standards
Comply with PHP Strict Standards
classify_token method doesn't like underscores and throws a "Warning: unknown --per_page parameter" error.
update search items found message. Now "Showing $count of $total '$plural."
Less is more. All that info won't display well on smaller terminal windows.
Allow formatting for search results.
Remove search=$key slug replacement method. :(
THe stars have aligned… https://github.com/wp-cli/wp-cli/pull/630/files#r5583311
Make _search() a protected method and wrap 'key' field addition in a conditional for 'interactive' (add a @TODO inline comment)
https://github.com/wp-cli/wp-cli/pull/630/files#r5583311
Whoops! parse_error fixed.
Remove 'search=$key' helper text
3rd parameter needs to be $assoc_args
Add a plugin/theme search behat test
Add a new test, "should end with a table containing rows:"
Merge pull request #630 from jtsternberg/plugin-search

Add wordpress api plugin search method.