An example about making a custom Protocol Buffers plugin in python with custom options
https://developers.google.com/protocol-buffers
https://github.com/protocolbuffers/protobuf
We defined an custom option for protocol buffer in custom_options.proto. And we use this custom option in our test.proto as an example.
Plugin read the input .proto files and generate an header .h file based on that. Header .h file contain information about which fields use custom options in our custom_options.proto.
Run 'gen_plugin.sh' to generate our custom plugin
After plugin has generated. Run 'run_plugin.sh' to use plugin.