package cmdlang

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

Install

Dune Dependency

Authors

Maintainers

Sources

cmdlang-0.0.9.tbz
sha256=44fc0027cc27a8d6b511bbde81b0d31306ec1a3d599476d5bd058510f39e87ef
sha512=e1a18905ff6035eb4c44aed71df0e3d42b8277db9a6e98fe571a3b17428c9ef0a26006cb27b729a60208a8357398decc6a8601caca74dabd2e6de7636bc60b31

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

Module Ast.ParamSource

Sourcetype 'a t =
  1. | Conv : {
    1. docv : string option;
    2. parse : 'a parse;
    3. print : 'a print;
    } -> '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
OCaml

Innovation. Community. Security.