22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# File 'lib/spiffe/workload/proto_helper.rb', line 22
def self.generate_instructions
" To generate Ruby gRPC stubs from proto files:\n \n 1. Install grpc-tools:\n gem install grpc-tools\n \n 2. Generate the stubs:\n rake generate_protos\n \n Or manually:\n grpc_tools_ruby_protoc \\\\\n -I proto \\\\\n --ruby_out=lib \\\\\n --grpc_out=lib \\\\\n proto/spiffe/workload.proto\n \n This will create:\n - lib/spiffe/workload_pb.rb (message definitions)\n - lib/spiffe/workload_services_pb.rb (gRPC service client)\n INSTRUCTIONS\nend\n"
|