Change Task alias into class definition

This commit is contained in:
Talia 2024-04-02 15:22:11 +02:00
parent e023b40575
commit 506713711e

View file

@ -8,8 +8,11 @@ local function shellescape(str)
return "'"..str:gsub([[']], [['"'"']]).."'" return "'"..str:gsub([[']], [['"'"']]).."'"
end end
--- @class Task
--- @alias Task table --- @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 --- Imports all tasks from Taskwarrior according to filters if given
--- @param ... string Taskwarrior filters as individual strings --- @param ... string Taskwarrior filters as individual strings