Change Task alias into class definition

This commit is contained in:
Talia 2024-04-02 15:22:11 +02:00
parent e023b40575
commit 506713711e
1 changed files with 5 additions and 2 deletions

View File

@ -8,8 +8,11 @@ local function shellescape(str)
return "'"..str:gsub([[']], [['"'"']]).."'"
end
--- @alias Task table
--- @class Task
--- @field description string
--- @field uuid string
--- @field due string
--- @field status "pending"|"completed"|"deleted"|"waiting"
--- Imports all tasks from Taskwarrior according to filters if given
--- @param ... string Taskwarrior filters as individual strings