Skip to content
This repository has been archived by the owner on Apr 10, 2024. It is now read-only.

implement Keep At Most command #13

Merged
merged 2 commits into from
Apr 1, 2024
Merged

Conversation

Slugger
Copy link
Owner

@Slugger Slugger commented Apr 1, 2024

Implement the keep at most command. Find items using the same options and filters but instead keep a specified number of items while deleting any others, starting with the oldest.

Implementation refactors the Delete command and makes this new command a subclass of delete. In the future, any other new commands that might be created would likely also be a subclass of Delete.

@Slugger Slugger merged commit f8ec637 into release/2.1 Apr 1, 2024
1 check passed
@Slugger Slugger deleted the feature/keep-at-most branch April 1, 2024 21:25
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant