2015-02-05 07:24:24 -06:00
|
|
|
# Taskwarrior
|
2015-02-05 13:41:03 -06:00
|
|
|
|
2015-02-05 13:47:39 -06:00
|
|
|
[![Build Status](https://travis-ci.org/DavidBadura/Taskwarrior.svg?branch=master)](https://travis-ci.org/DavidBadura/Taskwarrior)
|
2015-02-05 13:44:44 -06:00
|
|
|
|
2015-02-05 13:41:03 -06:00
|
|
|
```php
|
|
|
|
$tw = new \DavidBadura\Taskwarrior\Taskwarrior();
|
|
|
|
|
|
|
|
$task = new \DavidBadura\Taskwarrior\Task();
|
|
|
|
$task->addTag('home');
|
|
|
|
|
|
|
|
$tw->save($task);
|
|
|
|
|
|
|
|
$tasks = $tw->filter('+home');
|
|
|
|
```
|