Handle 'until' and 'recur' simiar to handling of 'gc' (#3753)

This centralizes updates to recurrence and 'until' in Command, instead
of doing so in each individual command implementation.

This is preparatory to opening the TaskChampion replica in read-only
mode.
This commit is contained in:
Dustin J. Mitchell 2025-01-18 02:20:41 -05:00 committed by GitHub
parent 1c9dddcae7
commit aeeec16984
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
56 changed files with 87 additions and 39 deletions

View file

@ -49,6 +49,7 @@ CmdContext::CmdContext() {
_read_only = true;
_displays_id = false;
_needs_gc = false;
_needs_recur_update = false;
_uses_context = false;
_accepts_filter = false;
_accepts_modifications = false;
@ -414,6 +415,7 @@ CmdCompletionContext::CmdCompletionContext() {
_read_only = true;
_displays_id = false;
_needs_gc = false;
_needs_recur_update = false;
_uses_context = false;
_accepts_filter = false;
_accepts_modifications = false;