plugin call function

This commit is contained in:
Fernando Herrera
2021-11-01 07:20:33 +00:00
parent a390f66dbf
commit 43c3cfecf7
8 changed files with 3059 additions and 39 deletions

View File

@ -4,6 +4,8 @@
# This schema, together with the command capnp proto is used to generate
# the rust file that defines the serialization/deserialization objects
# required to comunicate with the plugins created for nushell
# If you modify the schema remember to compile it to generate the corresponding
# rust file and place that file into the main nu-plugin folder
# Generic structs used as helpers for the encoding
struct Option(T) {
@ -121,7 +123,8 @@ struct PluginCall {
struct PluginResponse {
union {
signature @0 :Signature;
value @1 :Value;
error @0 :Text;
signature @1 :Signature;
value @2 :Value;
}
}