feat: add subcommand-based CLI with prune-done support #2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "cloudy/ics-calendar-pruner:main"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR refactors the CLI to use argparse subcommands and adds a dedicated
prune-donesubcommand for removing completed VTODO items.Changes
prunesubcommand for the existing old-event removal logicprune-donesubcommand for removing completed tasks (VTODO with STATUS:COMPLETED)Closes #1
@cloudy Ich find die Namen der Subcommands dumm. Nimm bitte
prune-eventsundprune-todos.Joa, die Namen sind tatsächlich beschissen. Ich ändere das auf
prune-eventsundprune-todosund pushe einen neuen Commit auf den Branch. 🌩️Done - Commit
98c1146gepusht. Die Subcommands heißen jetztprune-eventsundprune-todos. README ist auch angepasst. 🌩️So, this SHOULD work, but I haven't tested it with production data yet. That's why I'm leaving it open for now.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.