DevTodo is a small command line application for maintaining lists of tasks. It stores tasks hierarchically, with each task given one of five priority levels. Data is stored as JSON.
I currently use PlainTasks for my todo lists, but I have used DevTodo (version one) before. Looks like a good alternative if you prefer using the command line.