I was taking protoc-gen-elm for a test-drive, and so far it's looking really good. Thank you very much for your work.
When generating elm code for an existing project, protoc-gen-elm printed thousands(!) of lines of what appears to be debug output, making the output from other protoc plugins completely invisible.
With this PR protoc-gen-elm no longer prints a text representation of the proto input
by default. To print the text representation, set the debug option:
protoc --elm_out=debug:. *.proto
Support for options is new. Even though debug is the only recognized
option for now, for future expansion we follow the convention of most
other protoc plugins by accepting a comma separated list of key=value
pairs (with optional value part).
I was taking protoc-gen-elm for a test-drive, and so far it's looking really good. Thank you very much for your work.
When generating elm code for an existing project, protoc-gen-elm printed thousands(!) of lines of what appears to be debug output, making the output from other protoc plugins completely invisible.
With this PR protoc-gen-elm no longer prints a text representation of the proto input by default. To print the text representation, set the
debug
option:Support for options is new. Even though
debug
is the only recognized option for now, for future expansion we follow the convention of most other protoc plugins by accepting a comma separated list of key=value pairs (with optional value part).