feat: add \:Pending done <id>\ command

Toggles a task's done/pending status by ID from the command line,
matching the buffer \`<CR>\` behaviour including recurrence spawning.
Tab-completes active task IDs.
This commit is contained in:
Barrett Ruth 2026-03-05 23:52:56 -05:00
parent 0e64aa59f1
commit 9b452ed4de
3 changed files with 56 additions and 2 deletions

View file

@ -350,7 +350,7 @@ end
function OAuthClient:auth(on_complete)
local creds = self:resolve_credentials()
if creds.client_id == BUNDLED_CLIENT_ID then
log.error(self.name .. ': no credentials configured — run :Pending ' .. self.name .. ' setup')
log.error(self.name .. ': no credentials configured — run :Pending auth')
return
end
local port = self.port