Open gedw99 opened 2 years ago
@gedw99 I'm considering Client CLI, but it will be a while before I can start to develop it.
@mosuka thanks..
ok i just wanted to let you know that this code generator for the cli works, you only have to write main.go code to wire it up to use the generated code.
i used it before for a large project, and it's really great.
If i get time i will have a try though too.
https://github.com/NathanBaulch/protoc-gen-cobra
Would you consider a CLI / CTL for the server ?
The above golang lib will take a grpc proto and generate the golang cli code. Because tis GRPC you can make it a CLI and a CTL, Because you can use the generated golang code from GRPC to call in process or out of process.
I used it on other projects and it works great.
so then you can do forward engineering... update the Proto and generate the Client CLI