furo genServiceProtos #
Generate the service protos from the service specs.
The generated proto services will be generated to the configured path.
As you may have noticed the specs have a attribute
targetfile
(target
in µServices, sorry). Service specs with the sametargetfile
ortarget
value will be generated in to the same proto file.
Attention: You can not target Services and Messages to the same file, because for furo, the generating of types/messages and the generation of services are two different tasks.
.furo config example
|
|
furo genServiceProtos [flags]
Options #
-h, --help help for genServiceProtos
Options inherited from parent commands #
--config string config file (default is CWD/.furo.yaml)