Skip to content

Latest commit

 

History

History
76 lines (52 loc) · 1.96 KB

README.md

File metadata and controls

76 lines (52 loc) · 1.96 KB

badoop

Todo list in bash. No buckets, no priorities, no features, just awesomeness.

Installation

Download badoop and put it in your $PATH. You could try this:

curl -o /usr/local/bin https://raw.github.com/jergason/badoop/master/badoop

If you have npm installed, you can install badoop like this:

npm install -g badoop

Usage

Use it like so:

$ badoop Put badoop up on GitHub
$ badoop Finish blog post about badoop
$ badoop
  • put badoop up on GitHub
  • badoop Finish blog post about badoop
$ badoop -d GitHub
$ badoop
  • badoop Finish blog post about badoop

badoop can do six things.

  1. badoop with no arguments lists all todo items.
  2. badoop followed by anything but a -d or -h will add that as a todo item to your todo list.
  3. badoop -d deletes any todo items matching the arguments passed in next
  4. badoop -i or --indent indents any items matching the arguments
  5. badoop -u or --unindent un-indents any items matching the arguments
  6. badoop -h prints out a help message.

The indent/un-indent feature is a crude way to manage priorities or scheduling. For example, you can indent items that you want to worry about later.

Where The List is Stored

By default, badoop looks for a $TODO environment variable defining a path to a text file to use as the todo list. If it doesn't exist, it will use ~/.todo.txt as the todo list.

Cloud Storage Woop Woop

Things 2 just got cloud storage. Pffffft. badoop has had this forever.

$ TODO=~/Dropbox/todo.txt
$ badoop Tell everyone about my sweet cloud storage.
$ badoop
  • Tell everyone about my sweet cloud storage.

Consider it clouded.

Contributing

Run the tests with ./test. Make sure you have roundup to run them. If you add new features, add new tests for them please.

TODOS

  • npm test doesn't like roundup. The tests never exit.