Open edent opened 1 year ago
We could potentially repurpose the --quiet
global argument for this.
Feel free to submit a pull request, if you'd like. Here is some guidance on our pull request best practices.
Thanks. Am I right in thinking the functionality just needs to be altered in:
@edent That might be it!
Feature Request
When dealing with complex queries, WP Shell often dumps large volumes of data on to my screen.
For example, running a query with
'posts_per_page'=> 200,
will result in hundreds of blog posts being printed. But I only want, say, the GUID.Describe the solution you'd like
I'd like a command-line option so that
wp shell --no-output
will only display what I explicitly echo.Current version:
Proposed version: