package linol

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Cli.ArgSource

Parsing of the standard commnad line arguments using Stdlib.Arg

Sourcetype t
Sourceval create : unit -> t

create () create a new record for arguments

Sourceval spec : t -> (string * Arg.spec * string) list

spec t returns the spec that should be provided to Stdlib.Arg to populate t using the interpreted cli args

Sourceval channel : t -> (Channel.t, string) result

channel t return the channel if correctly supplied. An error if the arguments were provided incorrectly.

Sourceval clientProcessId : t -> int option

Return the process id of the client used to run the lsp server if it was provided

OCaml

Innovation. Community. Security.