Project

rtodotxt

0.0
No commit activity in last 3 years
No release in over 3 years
Working with todo.txt file in ruby
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 2.13.0
 Project Readme

Rtodotxt

Work with todo.txt files from ruby.

Usage

Work with any todo.txt formatted file

require 'rtodotxt'

list = Rtodotxt::List.new(File.read('./todo.txt')) # load list
list.first # first todo
list.first.done! # mark first todo done
list.first.done? # => true

list.map(&:contexts).flatten.uniq # get all contexts
list.map(&:projects).flatten.uniq # get all projects

License

MIT