Issue 525 in googlecl: Ability to output to STDOUT instead of a file

5 views
Skip to first unread message

goog...@googlecode.com

unread,
May 16, 2013, 10:07:56 PM5/16/13
to google...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Enhancement Priority-Medium

New issue 525 by james.pa...@gmail.com: Ability to output to STDOUT instead
of a file
http://code.google.com/p/googlecl/issues/detail?id=525

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.

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

goog...@googlecode.com

unread,
May 17, 2013, 7:19:54 PM5/17/13
to google...@googlegroups.com

Comment #1 on issue 525 by james.pa...@gmail.com: Ability to output to
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

Attachments:
googlecl.issue525.1368832354.diff 2.7 KB
Reply all
Reply to author
Forward
0 new messages