Status: New
Owner: [email protected]
Labels: Type-Defect Priority-Medium

New issue 613 by [email protected]: protoc: Add options to redirect input / output to files.
http://code.google.com/p/protobuf/issues/detail?id=613

What is the problem?
When used with --encode / --decode / --decode_raw options, protoc expects intput from stdin and dumps it to stdout.

While it is easy to wrap this in a script to read/write to files, this is slightly harder to do with some build systems (in my case gyp).

What is the expected output? What do you see instead?
Add command line flags --protbuf_in and --protobuf_out to be used with the ecode/decode/raw_decode flags to read/write from files.

What version of the product are you using? On what operating system?
ToT: SVN revision r517.

I'll contribute a patch.

--
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

--
You received this message because you are subscribed to the Google Groups "Protocol 
Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.

Reply via email to