carbans / googlecl

Automatically exported from code.google.com/p/googlecl
0 stars 0 forks source link

Ability to output to STDOUT instead of a file #525

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What service (Calendar, Docs, Picasa) should be enhanced?

Currently, my concern is Docs, but anything which saves a file would benefit 
from being able to print to STDOUT instead of to file.

What is the enhancement?

Allow output to STDOUT, so that googlecl may be used like a normal part of *nix 
pipelines.

Original issue reported on code.google.com by james.pa...@gmail.com on 17 May 2013 at 2:07

GoogleCodeExporter commented 9 years ago
I'm uncertain what the best implementation of this would be for the googlecl 
project, but here's a quick patch for 'docs' which will allow STDOUT output 
when the user specifies '-' as the --dest. Example usage:
google docs get --dest=- --format=csv "My Google Spreadsheet" | less

Original comment by james.pa...@gmail.com on 17 May 2013 at 11:19

Attachments: