addressbook - example of how to use protobuf API and create a Makefile
addressbook [OPTIONS] NAME ID
addressbook --decode
addressbook(1) is the application of the protobuf addressbook example from Google.
The Makefile is the interresting part. It adds implicit rules for proto files (i.e. %.pb.cc and %.pb.h).
-d or --decode Decode from stdin.
--email STRING Set e-mail.
--phone STRING Set phone.
-D or --debug Turn on debug messages.
-h or --help Display this message.
-v or --version Display the version.
Exits success if command-line is valid; exits failure otherwise.
Written by Gaël PORTAY [email protected]
Copyright (c) 2016-2017 Gaël PORTAY
This program is free software: you can redistribute it and/or modify it under the terms of the MIT License.