aboutsummaryrefslogtreecommitdiff
path: root/json-rpc-shell.adoc
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2020-10-14 00:05:03 +0200
committerPřemysl Eric Janouch <p@janouch.name>2020-10-14 13:37:08 +0200
commit23c728e5355bb33e44df91a06d3c68488b85e30b (patch)
tree987e1a96950eb336c8a344af0aee8b401971c61c /json-rpc-shell.adoc
parentdfe814316f10fa453396bc05f6e633f3fd5e55a4 (diff)
downloadjson-rpc-shell-23c728e5355bb33e44df91a06d3c68488b85e30b.tar.gz
json-rpc-shell-23c728e5355bb33e44df91a06d3c68488b85e30b.tar.xz
json-rpc-shell-23c728e5355bb33e44df91a06d3c68488b85e30b.zip
Add a backend for co-processes
Targets language servers. In this first stage, we don't need to support bi-directionality, although it's a requirement for finishing this task. Updates #4
Diffstat (limited to 'json-rpc-shell.adoc')
-rw-r--r--json-rpc-shell.adoc7
1 files changed, 6 insertions, 1 deletions
diff --git a/json-rpc-shell.adoc b/json-rpc-shell.adoc
index 1806c3e..988a701 100644
--- a/json-rpc-shell.adoc
+++ b/json-rpc-shell.adoc
@@ -10,7 +10,7 @@ json-rpc-shell - a shell for JSON-RPC 2.0
Synopsis
--------
-*json-rpc-shell* [_OPTION_]... _ENDPOINT_
+*json-rpc-shell* [_OPTION_]... { _ENDPOINT_ | _COMMAND_ [_ARG_]... }
Description
-----------
@@ -80,6 +80,11 @@ Protocol
Call "rpc.discover" upon start-up in order to pull in OpenRPC data for
tab completion of method names. If a path is given, it is read from a file.
+*-e*, *--execute*::
+ Rather than an _ENDPOINT_, accept a command line to execute and communicate
+ with using the JSON-RPC 2.0 protocol variation used in the Language Server
+ Protocol.
+
Program information
~~~~~~~~~~~~~~~~~~~
*-h*, *--help*::