Up

Module Command

Command is used for setting up an RPC server in the child process. By default this will set up an RPC server, but passing the -sexp flag will make it run the implementation on a sexp read from stdin instead. Passing the -menu flag will cause the command to print out a sexp indicating which RPC names and versions are supported.

Signature

module Invocation : sig .. end
module type T = sig .. end
module type T_conv = sig .. end
module type T_pipe = sig .. end
type t = [
| `Plain of (module T)
| `Plain_conv of (module T_conv)
| `Pipe of (module T_pipe)
]
val create : summary:string -> t list -> Async.Std.Command.t