topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Tuesday April 16, 2024, 3:39 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Daftago [ switch to compact view ]

Pages: [1]
1
N.A.N.Y. 2008 / UM - a to do list program
« on: December 31, 2007, 03:33 AM »
DISCLAIMER: This is a program I am writing to help me learn scheme, so it is probably buggy and quite frankly it is a little below the quality that I would prefer when releasing but since it is usable and N.A.N.Y. is a better time than most to release a program...

UM

um.png
Listing all unfinished tasks and finishing task 7 (which is of course called task8 because task 1 was finished way back)

UM is a to do list program that is used via the command line.  You can either call it via um.exe <command> or just running it to enter interactive mode.

Commands:
l  -> List all unfinished tasks (only tasks to depth 2 are currently listed i.e. you can't have sub-sub-tasks)
a task deadline [parent] -> Add a new task, parent is optional
f taskid -> Set task as done
m taskid parentid -> Change tasks parent (0 = root)
u taskid task deadline [parent] -> updates task
help -> displays help

Currently these are the only accepted date formats
yyyy-mm-dd
yyyy-MM-dd
mm-dd
MM-dd

Monday ... Sunday
Mon ... Sun        -> Next Monday etc

Tod | Today -> Today's date
Tom | Tomorrow -> Tomorrow's date



Example Usage: (this is in the interactive mode)
um>a Tiger Jul-23
um>l
1 Tiger 2007-7-23
um>a Find where tigers are sold May-10 1
um>a Get enough tiger food for 6 months Jul-1 1
um>a Buy tiger Jul-23 1
um>l
1 Tiger 2007-7-23
     1.1 Find where tigers are sold 2007-5-10
     1.2 Get enough tiger food for 6 months 2007-7-1
     1.3 Buy tiger 2007-7-23
um>f 1.1
um>l
1 Tiger 2007-7-23
     1.1 Get enough tiger food for 6 months 2007-7-1
     1.2 Buy tiger 2007-7-23
um>quit
Done


See tdl - to-do list manager (http://www.rpcurnow.force9.co.uk/tdl/) for the linux program that inspired this.





Pages: [1]