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/Command/index.html

Module Ast.CommandSource

Sourcetype 'a t =
  1. | Make : {
    1. arg : 'a Arg.t;
    2. summary : string;
    3. readme : (unit -> string) option;
    } -> 'a t
  2. | Group : {
    1. default : 'a Arg.t option;
    2. summary : string;
    3. readme : (unit -> string) option;
    4. subcommands : (string * 'a t) list;
    } -> 'a t
Sourceval summary : _ t -> string
Sourceval map : 'a t -> f:('a -> 'b) -> 'b t