Welcome!  English (US) Language Switcher

Command line interface

scott.nesbitt Pro says:

One of your competitors (Hiveminder) has a Perl script that enables users to view, add, delete, etc. tasks. For the handful, or more, of command line junkies out there this would be a nifty feature.

Posted at 8:00pm on October 4, 2007

soroush says:

I'm interested in something like this as well!

Posted at 8:22am on October 5, 2007

oleolo says:

You could use the mail function to do s.th like that.

Example (use your Inbox Mail Address from Settings/Info)

"mail -s "Buy milk" rmilkusername+234ddf@rmilk.com"

Now if someone would write a wrapper around this in order to incorporate a bunch of options....

Posted at 11:19am on October 5, 2007

jkalvin says:

I am quite ignorant in this field, but could someone possibly create a go-between using the API?

Posted at 4:01pm on October 5, 2007

soroush says:

@oleolo
That's a nice idea for quickly adding tasks from the command line.
However, it doesn't allow to view/delete tasks.

I think there's lots of ways to add tasks (twitter, email, IM, widgets, mobile), but not many options to view them (web, widgets come to mind). RTMs great non the less!

Posted at 11:58am on October 6, 2007

axyjo says:

hmm.. I am in favor of such a thing. As a computer geek, I am often in Terminal and i need quick access to my todo list without having to launch my browser again.

Posted at 11:18am on October 8, 2007

scott.nesbitt Pro says:

It's really a matter of how many people want this feature, and how to implement it. The Perl script that the developers of Hiveminder created is pretty good, but you need to install several additional Perl modules to get it to work.

I'm wondering if it would be easier with a Python or Ruby script, or even a shell script.

Posted at 6:39pm on October 8, 2007

yves.rutschle says:

started on that

Posted at 5:54pm on October 30, 2007

yves.rutschle says:

There it is: http://www.rutschle.net/rtm/

It's very simple for now, probably not useful for a heavy user (I am myself a RTM beginner, not using lists or any 'advanced' stuff') but it's a start anyway.

nesbitt, you'll only need to instal XML::Simple; there is no reason to think it'd be 'easier' in another language: it just makes no sense to be writing an XML parser parser from scratch just to remove a dependency (XML parser in shell script? now I wonder if *that* exists :)

Posted at 11:08am on November 3, 2007

scott.nesbitt Pro says:

Yves,

I've been offline for a few days. But I'm definitely doing to take a peek at your script in the next day or two. Thanks for making the effort!

Scott

Posted at 9:15pm on November 7, 2007

jaiwithani says:

I've found using twitter cli + rtm to be a pretty solution, at least for adding tasks.

You'll need RTM twitter to get this to work.

Here's the one-liner script. Name it "rtm" and put it somewhere in your path, and you'll be able to add tasks on the commandline with "rtm buy some milk, seriously"

curl -s --basic --user ":" --data-ascii "status=`echo d rtm $@|tr ' ' '+'`" "http://twitter.com/statuses/update.json" > /dev/null

(this is a slight variation of a script found here: http://binnyva.blogspot.com/2007/03/using-twitter-part-1-command-line.html)

Posted at 1:55pm on April 21, 2008

jaiwithani says:

sorry, formatting killed the line a bit. Here's what you want:

curl -s --basic --user "USERNAME:PASSWORD" --data-ascii "status=`echo d rtm $@|tr ' ' '+'`" "http://twitter.com/statuses/update.json" > /dev/null

Posted at 1:56pm on April 21, 2008

orel says:

Hi,

I'm trying Yves' script: it works really well!

The only thing I'm missing is the due date (display next to task title and possibility to add/change due date).

It's a very cool tool, probably the fastest one I've found.

Posted at 5:20pm on June 28, 2008

Log in to post a reply.