Skip to content

Conversation

@rs-amp
Copy link
Contributor

@rs-amp rs-amp commented May 19, 2022

This PR adds the ability to filter events by date range when archiving, only archive inactive events, and only archive editions. These capabilities are provided by 4 new arguments:

  • --fromDate <relativeDate>: The start of a range to match events/editions in. Either "NOW" or in the format ":", example: "-7:DAYS".
  • --toDate <relativeDate>: The end of a range to match events/editions in. Either "NOW" or in the format ":", example: "-7:DAYS".
  • Note: only one of the above can be provided to create ranges from a start/end to infinity.
  • --editions: Only archive editions. When active, parent events with no matching editions are skipped, and part or all of an event's editions may be archived without archiving the parent edition.
  • --onlyInactive: When provided, only inactive events (or editions, if --editions is provided) will be archived.

@rs-amp rs-amp added the enhancement New feature or request label May 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant