Skip to content

Add "before" and "after" date parameters #3

@dlh01

Description

@dlh01

Description

It isn't possible to pass a date query via a flag argument (see also wp-cli/wp-cli#4616), but we could accept --start-date and --end-date flags that map to a date query.

Use Case

We were once asked to provide an audit for posts published in the last 12 months. We had to settle for two year-based queries.

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions