GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
I've added a write command to my version which by default outputs the formatted items to ~/todo.txt
Originally I wanted to display my todo list through geektool on my desktop, and couldn't seem to get geektool to successfully get the output of 'todo ls'.
Now I just have geektool set to 'cat ~/todo.txt' and write to the file when I want it updated with 'todo write ~/todo.txt'
Next step is to see if I can automatically chain commands, calling command.write after any command that changes the list.
Adding write command to write the items to a file.
Sorry, but my editor also removed a bunch of whitespace endings.
Merge pull request #3 from sirkitree/master
+1 keep up the good work
Can you also provide some tests?
Also we can rename the command to export, which i think is way more clear what it does.
Hrm, I'll give it a shot - haven't learned much on that front yet.
I would log that write was successful if no error.
great start so far!