Node.js library that provides functionality to query and modify task warrior data.
Library communicates with task warrior by invoking task shell command and
parses its output.
Export command is used where it is posible.
var query = {
project: 'tempos',
description: { value: 'up', predicate: 'contains' },
status: 'completed'
};
Task.where(query).then(function(result) {
// This will result in
// "task project:tempos description.contains:up \
// status:completed export rc.json.array=on" shell command to be run
console.log(result);
});
Project.all().then(function(result) {
console.log(result);
});Project infrastructure is not setted up, so create an issue