query

Function query 

Source
pub fn query(query: &str) -> Result<Vec<Task>, Error>
Expand description

This will give you all tasks which match the given query in the taskwarrior query syntax. This is not sanitized. Never get the query string from an untrusted user.