Cmdliner_termTerms
type 'a parser =
Cmdliner_info.Eval.t ->
Cmdliner_cline.t ->
('a, [ `Parse of string | term_escape ]) Stdlib.resultType 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 parserThe type for terms. The list of arguments it can parse and the parsing function that does so.
val const : 'a -> 'a tval main_name : string tval choice_names : string list t