todo.txt 1.0.0

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

Released 2017-09-08.

To install, run:

haxelib install todo.txt 1.0.0

See using Haxelib in Haxelib documentation for more information.

MaintainerFuzzyWuzzie
Websitehttps://github.com/FuzzyWuzzie/haxe-todo.txt
Current version1.0.0
StatisticsInstalled 2 times
LicenseApache
Tags

README.md

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