Native Haxe utility for reading and writing todo.txt format TODO lists.
Issues, forks, and pull requests are gladly welcomed!
API documentation is available here: http://fuzzywuzzie.github.io/haxe-todo.txt/
import todotxt.Todo;
class Main() {
public static function main() {
var list:String = sys.io.File.getContent("todo.txt");
var todo:Todo = new Todo(list);
todo.tasks.push(Task.assemble(false, 'B', Date.now(), null, 'Order some pizza for the @party'));
todo.tasks.push(new Task('@party hard!'));
sys.io.File.saveContent("todo.txt", todo.render());
}
}