list
gest task list: list tasks in the current project.struct Command
pub struct CommandList tasks in the current project.
| Field | Type | Description |
|---|---|---|
all |
bool | Show all tasks, including resolved. |
assigned_to |
Option<String> | Filter by assigned author name. |
limit |
LimitArgs | The --limit option, which caps how many items print. |
status |
Option<TaskStatus> | Filter by status. |
tag |
Option<String> | Filter by tag. |
output |
json::Flags | The output mode: normal, --json, --quiet or --raw. |
Implements FromArgMatches, Args, Debug.
Command::call
pub async fn call(&self, context: &AppContext) -> Result<(), Error>Query tasks with the requested filters and render them as a table, JSON, or plain IDs.
| Parameter | Type | Description |
|---|---|---|
context |
&AppContext | the application context: settings, store and current project |
| returns | Result<(), Error> | Ok(()) when the command succeeds, or the error that stopped it. |