Skip to content

hamaluik/haxe-todo.txt

Repository files navigation

todo.txt

GitHub license Build Status

Native Haxe utility for reading and writing todo.txt format TODO lists.

Contributing

Issues, forks, and pull requests are gladly welcomed!

Documentation

API

API documentation is available here: http://fuzzywuzzie.github.io/haxe-todo.txt/

Samples

Update a TODO list:

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());
    }
}

About

Native haxe library for working with todo.txt files

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages