package cmdliner

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type 'a t
val pure : 'a -> 'a t
val ($) : ('a -> 'b) t -> 'a t -> 'b t
val app : ('a -> 'b) t -> 'a t -> 'b t
val ret : [ `Error of bool * string | `Help of [ `Groff | `Pager | `Plain ] * string option | `Ok of 'a ] t -> 'a t
val main_name : string t
val choice_names : string list t
val man_format : [ `Groff | `Pager | `Plain ] t
type info
val info : ?sdocs:string -> ?man:Manpage.block list -> ?docs:string -> ?doc:string -> ?version:string -> string -> info
val name : info -> string
type !'a result = [
  1. | `Error of [ `Exn | `Parse | `Term ]
  2. | `Help
  3. | `Ok of 'a
  4. | `Version
]
val eval : ?help:Format.formatter -> ?err:Format.formatter -> ?catch:bool -> ?argv:string array -> ('a t * info) -> 'a result
val eval_choice : ?help:Format.formatter -> ?err:Format.formatter -> ?catch:bool -> ?argv:string array -> ('a t * info) -> ('a t * info) list -> 'a result
OCaml

Innovation. Community. Security.