You are not logged in.

#1 2009-07-13 08:02:11

Ghost1227
Forum Fellow
From: Omaha, NE, USA
Registered: 2008-04-21
Posts: 1,422
Website

Todo - a simple cli todo list manager

After entirely too long, and more than one false start, I have finally released the first completely functional version of the little cli todo script I've been working on. It's nothing fancy, and most of you probably won't ever have a need for it, but it works! Now to find another project to test the limits of bash!

Check it out here!


.:[My Blog] || [My GitHub]:.

Offline

#2 2009-07-13 11:55:37

u_no_hu
Member
Registered: 2008-06-15
Posts: 453

Re: Todo - a simple cli todo list manager

Nice little app. This will work great with zenity.

Found a few typos/mistakes in the man page.  Addlist will be -al  i guess. And there is an isoman there wink

Last edited by u_no_hu (2009-07-13 11:58:28)


Don't be a HELP VAMPIRE. Please search before you ask.

Subscribe to The Arch Daily News.

Offline

#3 2009-07-13 13:28:40

kgas
Member
From: Qatar
Registered: 2008-11-08
Posts: 718

Re: Todo - a simple cli todo list manager

Ghost1227, keep  your good work. Switched from osmo. handy for the vacation plan big_smile

Offline

#4 2009-07-13 14:23:38

dimigon
Member
Registered: 2009-03-07
Posts: 139
Website

Re: Todo - a simple cli todo list manager

nice one!

Offline

#5 2009-07-13 14:56:14

Ghost1227
Forum Fellow
From: Omaha, NE, USA
Registered: 2008-04-21
Posts: 1,422
Website

Re: Todo - a simple cli todo list manager

u_no_hu wrote:

Nice little app. This will work great with zenity.

Found a few typos/mistakes in the man page.  Addlist will be -al  i guess. And there is an isoman there wink

I'm working on an update with zenity, and thanks for letting me know the two littl typos... they're both fixed!


.:[My Blog] || [My GitHub]:.

Offline

#6 2009-07-13 15:28:14

Heller_Barde
Member
Registered: 2008-04-01
Posts: 245

Re: Todo - a simple cli todo list manager

i made a quick dirty patch to change the default behaviour to print instead of displaying the usage.
whoever likes this behaviour better can apply this small patch

--- orig/todo       2009-07-13 17:04:11.000000000 +0200
+++ patch/todo    2009-07-13 17:26:13.000000000 +0200
@@ -264,5 +264,6 @@
        shift
 done

-usage
+LIST="$ARGLIST"
+out
 exit 0

really cool work ghost1227!

cheers
Barde

Offline

#7 2009-07-13 15:37:34

Ghost1227
Forum Fellow
From: Omaha, NE, USA
Registered: 2008-04-21
Posts: 1,422
Website

Re: Todo - a simple cli todo list manager

If the general population prefers this behavior, please let me know and i'll adjust it accordingly.


.:[My Blog] || [My GitHub]:.

Offline

#8 2009-07-13 16:13:04

kgas
Member
From: Qatar
Registered: 2008-11-08
Posts: 718

Re: Todo - a simple cli todo list manager

Ghost 1227, white spaces before the items are ignored. for eg

[todo]
visit Plans
      Bank Matters
      Son's coaching classes
      Travel Booking

will look nice. This could be achieved by directly editing the file but not by adding from the command line. Tho' it is not a big deal only a suggestion.

Offline

#9 2009-07-13 16:15:32

Ghost1227
Forum Fellow
From: Omaha, NE, USA
Registered: 2008-04-21
Posts: 1,422
Website

Re: Todo - a simple cli todo list manager

kgas wrote:

Ghost 1227, white spaces before the items are ignored. for eg

[todo]
visit Plans
      Bank Matters
      Son's coaching classes
      Travel Booking

will look nice. This could be achieved by directly editing the file but not by adding from the command line. Tho' it is not a big deal only a suggestion.

Not sure I understand what you're asking for...


.:[My Blog] || [My GitHub]:.

Offline

#10 2009-07-13 16:31:05

kgas
Member
From: Qatar
Registered: 2008-11-08
Posts: 718

Re: Todo - a simple cli todo list manager

can you see the alignment given in the example.to be clear
[todo]
visit plans
-----Bank Matters
-----Son's coaching classes
-----Travel Booking                         

----- represents either white space or tab
hope this is clear. I said this white spaces/tab  is ignored when entered from the command line .

Offline

#11 2009-08-04 01:40:52

gladstone
Member
Registered: 2009-01-03
Posts: 74

Re: Todo - a simple cli todo list manager

Can the default todo path be changed? I see it uses the variable $LPATH... Other than editing /usr/bin/todo directly, can I do something like this?

$ LPATH=/documents/todo todo -a test

Offline

#12 2009-08-04 02:26:18

Ghost1227
Forum Fellow
From: Omaha, NE, USA
Registered: 2008-04-21
Posts: 1,422
Website

Re: Todo - a simple cli todo list manager

hmm... as of now, it's not setup to allow that, it'd be an easy edit though... i'll post an update for that


.:[My Blog] || [My GitHub]:.

Offline

#13 2009-08-04 18:32:32

gladstone
Member
Registered: 2009-01-03
Posts: 74

Re: Todo - a simple cli todo list manager

Thanks.

Another suggestion (by request) would be an archive feature. In a similar way to the delete, could you add a method of deleting an item from one list and moving it to another? This second list could be used an "archive" list.

I originally suspected "todo -el" could be used for this, but realised you can't use it to move between different lists.

Also, this might be due to my lack of bash knowledge, but can you delete multiple items? i.e. something like: todo -d 2,5 (to delete items 2 and 5) or todo -d 2-5 (to delete items 2, 3, 4 and 5)

Last edited by gladstone (2009-08-04 18:36:20)

Offline

Board footer

Powered by FluxBB