Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: add auto expiration duration #100

Open
lefuturiste opened this issue Jun 11, 2024 · 0 comments · May be fixed by #108
Open

Feature request: add auto expiration duration #100

lefuturiste opened this issue Jun 11, 2024 · 0 comments · May be fixed by #108
Labels
enhancement New feature or request

Comments

@lefuturiste
Copy link

Hi!
I think it's pretty useful to have a way to clear entries older that 1 hour every now and then.

@sentriz sentriz added the enhancement New feature or request label Jun 11, 2024
lukas-reineke added a commit to lukas-reineke/cliphist that referenced this issue Aug 13, 2024
Adds `expire-duration` option seconds.
`list` will not list items that are older than `now - expire-duration`
`store` will remove all items that are older than `now - expire-duration`

fix sentriz#100
lukas-reineke added a commit to lukas-reineke/cliphist that referenced this issue Aug 13, 2024
Adds `expire-duration` option seconds.
`list` will not list items that are older than `now - expire-duration`
`store` will remove all items that are older than `now - expire-duration`

fix sentriz#100
@lukas-reineke lukas-reineke linked a pull request Aug 13, 2024 that will close this issue
lukas-reineke added a commit to lukas-reineke/cliphist that referenced this issue Aug 16, 2024
Adds `expire-duration` option seconds.
`list` will not list items that are older than `now - expire-duration`
`store` will remove all items that are older than `now - expire-duration`

fix sentriz#100
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 a pull request may close this issue.

2 participants