Restore 'task purge' functionality (#3540)

Co-authored-by: ryneeverett <ryneeverett@gmail.com>
This commit is contained in:
Dustin J. Mitchell 2024-07-14 11:59:00 -04:00 committed by GitHub
parent e156efae7d
commit 1304d6361c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 366 additions and 5 deletions

View file

@ -427,6 +427,15 @@ Modifies the existing task with provided information.
.B task <filter> prepend <mods>
Prepends description text to an existing task. Is affected by the context.
.TP
.B task <filter> purge
Permanently removes the specified tasks from the data files. Only
tasks that are already deleted can be purged. This command has a
local-only effect and changes introduced by it are not synced.
Is affected by the context.
Warning: causes permanent, non-revertible loss of data.
.TP
.B task <filter> start <mods>
Marks the specified tasks as started. Is affected by the context.
@ -1280,6 +1289,7 @@ active context. Here is a list of the commands that are affected:
log
prepend
projects
purge
start
stats
stop