add priority

This commit is contained in:
DavidBadura
2015-02-06 17:05:29 +00:00
parent c2983029ce
commit b81cad6243
4 changed files with 55 additions and 1 deletions

View File

@@ -66,6 +66,10 @@ class Taskwarrior
$options[] = 'project:' . $params['project'];
}
if (array_key_exists('priority', $params)) {
$options[] = 'priority:' . $params['priority'];
}
if (array_key_exists('description', $params)) {
$options[] = $params['description'];
}
@@ -85,7 +89,7 @@ class Taskwarrior
}
/**
* @param $json
* @param string $json
* @return string
* @throws TaskwarriorException
*/