From 29a5c1b855174f914b08016cd8569991fecdc595 Mon Sep 17 00:00:00 2001 From: Chris Roberts Date: Wed, 29 Jun 2022 16:12:36 -0700 Subject: [PATCH] Add rpc for getting commands --- internal/server/proto/ruby_vagrant/ruby-server.proto | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/internal/server/proto/ruby_vagrant/ruby-server.proto b/internal/server/proto/ruby_vagrant/ruby-server.proto index 0171b3300..4209f5064 100644 --- a/internal/server/proto/ruby_vagrant/ruby-server.proto +++ b/internal/server/proto/ruby_vagrant/ruby-server.proto @@ -14,6 +14,7 @@ import "plugin.proto"; service RubyVagrant { // Gets available ruby plugins rpc GetPlugins(google.protobuf.Empty) returns (GetPluginsResponse); + rpc GetCommands(google.protobuf.Empty) returns (GetCommandsResponse); rpc ParseVagrantfile(ParseVagrantfileRequest) returns (ParseVagrantfileResponse); rpc ParseVagrantfileProc(ParseVagrantfileProcRequest) returns (ParseVagrantfileResponse); rpc ParseVagrantfileSubvm(ParseVagrantfileSubvmRequest) returns (ParseVagrantfileResponse); @@ -86,3 +87,7 @@ message ParseVagrantfileProviderRequest { sdk.Config.RawRubyValue subvm = 1; string provider = 2; } + +message GetCommandsResponse { + repeated sdk.Command.CommandInfo commands = 1; +}