Cmdliner_term
Terms
type 'a parser =
Cmdliner_info.Eval.t ->
Cmdliner_cline.t ->
('a, [ `Parse of string | term_escape ]) Stdlib.result
Type type for command line parser. given static information about the command line and a command line to parse returns an OCaml value.
type 'a t = Cmdliner_info.Arg.Set.t * 'a parser
The type for terms. The list of arguments it can parse and the parsing function that does so.
val const : 'a -> 'a t
module Syntax : sig ... end
val main_name : string t
val choice_names : string list t