package socket-daemon

  1. Overview
  2. Docs
type command = {
  1. name : string;
  2. desc : string;
  3. options : (Arg.key * Arg.spec * Arg.doc) list;
  4. anon : (string -> unit) option;
  5. action : (Sdaemon_common.socket_spec -> unit Lwt.t) option;
}
val command : ?options:(Arg.key * Arg.spec * Arg.doc) list -> ?anon:(string -> unit) -> ?action:(Sdaemon_common.socket_spec -> unit Lwt.t) -> name:string -> desc:string -> unit -> command
val run : ?options:(Arg.key * Arg.spec * Arg.doc) list -> ?commands:command list -> (unit -> Sdaemon_common.socket_spec) -> name:string -> version:string -> unit
OCaml

Innovation. Community. Security.