andrewbanchich/shreddit

[request] - Relative time for --before

Opened this issue · 1 comments

When configuring shreddit, a date must be entered in a "correct" format for it to work.

Enabling a relative time format would make it far simpler for a user to run, enabling commands such as shreddit --before "1month" removing anything older than a month.

At the very least, allowing the ability to specify a date only. I am assuming it wants a full date time string?

e.g. shreddit --before 2024-08-14