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.
Add requests support in composer and for core command
Remove the minimum-stability argument
Remove Requests: library/ from composer.json
Return minimum-stability due to https://github.com/rmccue/Requests/issues/43
Add fallback to verify=false argument which works when certificate issues occur
Remove 'search=$key' helper text
3rd parameter needs to be $assoc_args