Taskwarrior/README.md

544 B

Taskwarrior

Build Status

$tm = \DavidBadura\Taskwarrior\TaskManager::create();

$task = new \DavidBadura\Taskwarrior\Task();
$task->setDescription('program this lib');
$task->setProject('hobby');
$task->setDue(new \DateTime('tomorrow'));

$task->addTag('next'); // todo :D

$tm->save($task);

$tasks = $tm->filter('project:hobby'); // one task

$tm->done($task);

$tasks = $tm->filter('project:hobby'); // empty