News for hackers. Stuff that matters.
Re:Show HN: Command line task management tool (Weekend Project) by habosa on Sunday February 17, 2013 @09:14PM (#5237766)
This is great, I love tools like this.

I made something very similar: https://github.com/hatboysam/shpm

It's a command line task manager I wrote in Haskell. I use it every day and it has replaced all other task apps I have tried because it's fast and simple. I also like it because it stores all of my tasks in plain text so I can always edit the file over Dropbox when I'm not at my computer but want to add something to the list.

Re:Show HN: Command line task management tool (Weekend Project) by importMe on Sunday February 17, 2013 @10:02PM (#5237926)
Wow, SHPM looks like a neat project. I like the fact that you store it in a text file.

At the moment, TaskCmd stores the tasks in a JSON file that can be edited easily, but it can be a pain sometimes.

Re:Show HN: Command line task management tool (Weekend Project) by habosa on Monday February 18, 2013 @11:48PM (#5242678)
Thanks! It's perfect for me, but I get the sense that the only good todo app is the one you make yourself. That's why people without the ability to make one spend so much time switching back and forth.
Re:Show HN: Command line task management tool (Weekend Project) by thepumpkin1979 on Sunday February 17, 2013 @07:16PM (#5237401)
Nice work. Btw, I don't think you need to add node_modules to your repo, at least colors is already on npmjs.org and you can use package.json and NPM to distribute node.js 'env' enabled binaries, it should ease the configuration instructions. Hope this helps :)
Re:Show HN: Command line task management tool (Weekend Project) by importMe on Sunday February 17, 2013 @07:40PM (#5237471)
Thank you. I have just started with node, so your advice is valuable. Do you know if files with '#!/bin/node' (or was it '#!/bin/env/node') work in windows when published through npm?
Re:Show HN: Command line task management tool (Weekend Project) by niggler on Sunday February 17, 2013 @08:42PM (#5237643)
I haven't tried in windows, but the recommended way to handle binaries is through the `bin` field in package.json (and this technique doesn't care about the shebang because it doesn't run the script directly using the OS). For example, in the `xlsx` module:

"bin": { "xlsx2csv": "./bin/xlsx2csv.njs" },

https://github.com/Niggler/js-xlsx/blob/master/package.json#...

Relevant doc: https://npmjs.org/doc/json.html#bin

Re:Show HN: Command line task management tool (Weekend Project) by importMe on Sunday February 17, 2013 @08:55PM (#5237690)
Thanks, I'll take a look at that.
Re:Show HN: Command line task management tool (Weekend Project) by kodablah on Sunday February 17, 2013 @09:07PM (#5237746)
If you specify a js file as an executable file in your package.json, npm wraps it in a .cmd file on Windows just like it wraps it in a shell file on nix.
Re:Show HN: Command line task management tool (Weekend Project) by importMe on Sunday February 17, 2013 @09:59PM (#5237912)
That's good to know. Thanks!
Re:Show HN: Command line task management tool (Weekend Project) by RossM on Monday February 18, 2013 @08:57AM (#5238254)
I quite like todo.txt[0] which has a similar interface but uses a specific format, sorted in a text file.

[0]: http://todotxt.com

Re:Show HN: Command line task management tool (Weekend Project) by dil on Sunday February 17, 2013 @06:13PM (#5237168)
Another alternative: http://taskwarrior.org/
Re:Show HN: Command line task management tool (Weekend Project) by SEJeff on Sunday February 17, 2013 @09:44PM (#5237865)
And taskwarrior has been around for awhile unlike a (clever) weekend hack.
Re:Show HN: Command line task management tool (Weekend Project) by niggler on Sunday February 17, 2013 @06:42PM (#5237285)
Is github down for maintenance?
Re:Show HN: Command line task management tool (Weekend Project) by nsmartt on Sunday February 17, 2013 @06:56PM (#5237347)
It was for a couple of minutes, but it came back quickly.
Re:Show HN: Command line task management tool (Weekend Project) by importMe on Sunday February 17, 2013 @06:52PM (#5237329)
Seems to be working fine for me.