13 ms·
Show HN: Command line task management tool (Weekend Project)
- dil 14y agoAnother alternative: http://taskwarrior.org/ http://taskwarrior.org/
- SEJeff 14y agoAnd taskwarrior has been around for awhile unlike a (clever) weekend hack.
- niggler 14y agoIs github down for maintenance?
- thepumpkin1979 14y agoNice 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 :)
- importMe 14y agoThank 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?
- niggler 14y agoI 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#L9-L11 https://github.com/Niggler/js-xlsx/blob/master/package.json#... Relevant doc: https://npmjs.org/doc/json.html#bin https://npmjs.org/doc/json.html#bin
- importMe 14y agoThanks, I'll take a look at that.
- kodablah 14y agoIf 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.
- importMe 14y agoThat's good to know. Thanks!
- habosa 14y agoThis is great, I love tools like this. I made something very similar: https://github.com/hatboysam/shpm 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.
- importMe 14y agoWow, 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.
- habosa 14y agoThanks! 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.
- RossM 14y agoI quite like todo.txt[0] which has a similar interface but uses a specific format, sorted in a text file. [0]: http://todotxt.com http://todotxt.com