Bug Report
I don't know if it's a bug, documentation issue, or feature request:
To list pages, Intuitively I'd look for a command: "wp page list". Next best option would be "wp post list", since a page is a post.
When querying "post list" without explicit filtration, I'd expect it to return all post objects (select * from posts).
Instead, "wp post list" assumes post-type=post.
Since this default filter is not documented, I (and others) think something is wrong, and look for answers in stackoverflow :)
Possible solutions:
- Change "post list" to list Posts & Pages by default (since they're both havr similar content concept.
- Add "page list" command as an alias to "post list post_type=page"
- Write clearly in the documentation that about the default assumed posttype=post
Thank you