linol/lsp/Lsp/Cli/index.html
2024-05-08 15:15:46 +00:00

2 lines
2.2 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Cli (lsp.Lsp.Cli)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 2.4.2"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> <a href="../../index.html">lsp</a> &#x00BB; <a href="../index.html">Lsp</a> &#x00BB; Cli</nav><header class="odoc-preamble"><h1>Module <code><span>Lsp.Cli</span></code></h1><p>Handling of standard lsp server command line arguments</p></header><div class="odoc-content"><div class="odoc-spec"><div class="spec module anchored" id="module-Channel"><a href="#module-Channel" class="anchor"></a><code><span><span class="keyword">module</span> <a href="Channel/index.html">Channel</a></span><span> : <span class="keyword">sig</span> ... <span class="keyword">end</span></span></code></div><div class="spec-doc"><p>The channel the server shold use to listen for connections</p></div></div><div class="odoc-spec"><div class="spec module anchored" id="module-Arg"><a href="#module-Arg" class="anchor"></a><code><span><span class="keyword">module</span> <a href="Arg/index.html">Arg</a></span><span> : <span class="keyword">sig</span> ... <span class="keyword">end</span></span></code></div><div class="spec-doc"><p>Parsing of the standard commnad line arguments using <code>Stdlib.Arg</code></p></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-args"><a href="#val-args" class="anchor"></a><code><span><span class="keyword">val</span> args : <span><span class="optlabel">?channel</span>:<a href="Channel/index.html#type-t">Channel.t</a> <span class="arrow">&#45;&gt;</span></span> <span><span class="optlabel">?clientProcessId</span>:int <span class="arrow">&#45;&gt;</span></span> <span>unit <span class="arrow">&#45;&gt;</span></span> <span>string list</span></span></code></div><div class="spec-doc"><p>generate command line arguments that can be used to spawn an lsp client</p></div></div></div></body></html>