package cmdlang

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

cmdlang-0.0.10.tbz
sha256=ca68da238799022810373d060bbd528d1de7687e8f8b4a89450c0bb33a41897d
sha512=7e223e3b02da4132f3638c83cad2b0b5bd3f672d777ad09a1d956db6bbed8d93b6125d754fcc0d970b16ac8150be08f9c3ae6a066868e2128351f9e049fefe53

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