4 ms·
That's cool, but I like the Google Command Line interface even more: http://code.google.com/p/googlecl/ http://code.google.com/p/googlecl/ I was blown away th
by eneveu 16y ago
That's cool, but I like the Google Command Line interface even more:
http://code.google.com/p/googlecl/ http://code.google.com/p/googlecl/
I was blown away the first time I edited Google doc using vim, hit ":wq" (save), and saw my changes reflected instantly in my browser, where I had opened the same document.
The Oauth authentication was also pretty cool. Instead of asking for your Google credentials every time / saving them on your machine, the first GoogleCL use opens a browser window, prompts you to log into your Google Account, and asks you to authorize the Google CL client. You may then revoke this permission at any time (like any Oauth token).
- cygwin98 16y agoI played with googlecl for a bit and quite amazed by what it can do. However, in order to use vim as the editor, the user has to always append '--editor vim' to the command line, which feels a little awkward to me. I want more than that, say, it would be great that those google docs are actually files! A quick google search turns out there exists always a project doing that --- http://gdatafs.sourceforge.net/ http://gdatafs.sourceforge.net/ "Gdatafs is a FUSE implemtation that mount picassa web and youtube to your filesystem. An experimental implmentation of google docs is also avaiable in trunk. "
- eneveu 16y agoI think you can specify a default editor in the googlecl config file: http://code.google.com/p/googlecl/wiki/ConfigurationOptions http://code.google.com/p/googlecl/wiki/ConfigurationOptions You can also specify document-type specific editors ;) The beauty of googlecl is that, since it's a command line tool, you could always fall back on using a bash alias / bash function, if all else fails.
- simcop2387 16y agoWould certainly be nice if it listened to the EDITOR environment variable for a default :/
- eneveu 16y agoActually, now that I'm at home, I just tried it... and it does default to the EDITOR variable. Just tried it by setting the variable to vim and then to nano.