package cmdlang

  1. Overview
  2. Docs
Declarative Command-line Parsing for OCaml

Install

dune-project
 Dependency

Authors

Maintainers

Sources

cmdlang-0.0.11.tbz
sha256=818cf017d4889b49121f36edf6c77b955105c2b2a79405592c5a51495cfbae4b
sha512=1179129fd7c65cb1767db5b7e2d2069454be8e16c0e9f010754b41b8af25e6e361ef5f0c3204fe7ee94e605cfdc3b406c41680664705dea53b488a3f727bcc2e

doc/cmdlang.ast/Cmdlang_ast/Ast/Param/index.html

Module Ast.ParamSource

Sourcetype 'a t =
  1. | Conv : {
    1. docv : string option;
    2. of_string : 'a of_string;
    3. to_string : 'a to_string;
    } -> 'a t
  2. | String : string t
  3. | Int : int t
  4. | Float : float t
  5. | Bool : bool t
  6. | File : string t
  7. | Enum : {
    1. docv : string option;
    2. choices : (string * 'a) Nonempty_list.t;
    3. to_string : 'a -> string;
    } -> 'a t
  8. | Comma_separated : 'a t -> 'a list t