taskomaly
access your Tasko or TaskPaper papers. in ruby.
you need to clean your room
make it a project
proj = Taskomaly::Project.new 'Room Cleaning'
add some tasks to it
proj.add 'put away clean laundry'
proj.add 'wash dirty dishes'
tag those suckas up
proj.add 'file taxes @april @15'
proj.tasks.last. # [:april, :"15"]
proj.add 'organize shelf'
proj.tasks.last.tag :knickknacks, 1000, 'september'
proj.tasks.last. # [:knickknacks, :"1000", :september]
working with tasko
t = Taskomaly::With :user => 9999, :key => 'd9cca721a735dac4efe709e0f3518373'
or, create this file:
# ~/.tasks.yml
user: 9999
key: d9cca721a735dac4efe709e0f3518373
and do this:
t = Taskomaly::From '~/.tasks.yml'
getting your papers
t.get :papers # ['Paper One', 'Paper Two']
p = t.papers.first
puts p.name # 'Paper One'
puts p.body # duh
change + upload
p.body["@today"] = "@tomorrow"
p.save # true if groovy, false if failed
made a mistake? refresh from the server
p.refresh # true if groovy, false if failed