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/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