palm
palm copied to clipboard
protoc compatible plugin
It would be handy to integrate into Google's protoc tool to simplify usage and integrate with cross-platform projects more easily.
Plugins are as "simple" as a binary named protoc-gen-$NAME
:
// A plugin executable needs only to be placed somewhere in the path. The
// plugin should be named "protoc-gen-$NAME", and will then be used when the
// flag "--${NAME}_out" is passed to protoc.
via: https://developers.google.com/protocol-buffers/docs/reference/cpp/google.protobuf.compiler.plugin.pb
See also: https://developers.google.com/protocol-buffers/docs/reference/other
(I know this is probably a lot of work for only a slight bump in usability, but a guy can dream right?)