Feature Request
Describe your use case and the problem you are facing
wp post list support arbitrary --<field> being passed to WP_Query but date parameters which depends on a nested structure are not handled. Doing so would allow handy filtering logic based on post date attributes.
Describe the solution you'd like
--date-<field> could be used as a prefix opening the way to things like --date-before=2024-01-01 or --date-year=2025
(The same applied to meta_query would also be great as it would resolves the long-standing problem of retrieving posts based on meta-condition straight from wp post list without any piping/subcommand)
Feature Request
Describe your use case and the problem you are facing
wp post listsupport arbitrary--<field>being passed toWP_Querybut date parameters which depends on a nested structure are not handled. Doing so would allow handy filtering logic based on post date attributes.Describe the solution you'd like
--date-<field>could be used as a prefix opening the way to things like--date-before=2024-01-01or--date-year=2025(The same applied to
meta_querywould also be great as it would resolves the long-standing problem of retrieving posts based on meta-condition straight fromwp post listwithout any piping/subcommand)