You are not logged in.

#1 2011-03-26 14:57:37

kinhodder
Member
From: UK
Registered: 2010-04-18
Posts: 65
Website

nag - a very simple todo list manager

nag is a very simple todo list manager.

Installation:

Download it, save it somewhere in your path as 'nag' and make it executable. (There's an Arch-specific version - 'nag-arch.py' - which points at python2 rather than python.)

Usage:

-a, --add               add an item to your list
-c, --clear             clear your list
-d [n], --delete [n]    remove item [n] from your list
-l, --list              show the contents of your list

If you run nag without any arguments, it'll show you the oldest todo item on your list.

Todo items are stored in a plain text file, ~/.nag - you can either create this yourself, or do

nag -a My first todo item

and the file will be created for you.

I feel a bit daft posting something so simple here given the amazing contributions of other users, but since I learned the rudiments of Python and finished my first ever script, I thought I might as well share it. I'm assuming the code isn't very good, but it works (famous last words). Constructive criticism and/or pointing and laughing welcome!

Offline

Board footer

Powered by FluxBB