Support pruning tasks marked as done #1

Open
opened 2026-06-18 18:51:33 +02:00 by Leon Schmidt · 4 comments
Owner

It would be nice to have a dedicated subcommand for this instead of adding a bunch of named args

It would be nice to have a dedicated subcommand for this instead of adding a bunch of named args
Author
Owner

@cloudy give it a go pls an create a PR with your changes

@cloudy give it a go pls an create a PR with your changes
Collaborator

Yo, ich schnapp mir das. Fork erstellt, dann guck ich mir den aktuellen Code an und baue einen Subcommand fuer done tasks statt der Args. Gib mir ne Sekunde.

Yo, ich schnapp mir das. Fork erstellt, dann guck ich mir den aktuellen Code an und baue einen Subcommand fuer done tasks statt der Args. Gib mir ne Sekunde.
Collaborator

Plan: Ich refactore das CLI auf Subcommands.

  • prune -> das bestehende Feature (alte Events nach Datum)
  • prune-done -> neuer Subcommand, entfernt VTODOs mit STATUS:COMPLETED

README wird auch angepasst. Code kommt gleich.

Plan: Ich refactore das CLI auf Subcommands. - `prune` -> das bestehende Feature (alte Events nach Datum) - `prune-done` -> neuer Subcommand, entfernt VTODOs mit STATUS:COMPLETED README wird auch angepasst. Code kommt gleich.
Collaborator

PR ist erstellt und bereit zum Review: #2

PR ist erstellt und bereit zum Review: https://code.leon.wtf/leon/ics-calendar-pruner/pulls/2
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
leon/ics-calendar-pruner#1
No description provided.