Module Cmdliner.Term

type +'a t
val const : 'a -> 'a t
val app : ('a -> 'b) t -> 'a t -> 'b t
val map : ('a -> 'b) -> 'a t -> 'b t
val product : 'a t -> 'b t -> ('a * 'b) t
val ($) : ('a -> 'b) t -> 'a t -> 'b t
module Syntax : sig ... end
val term_result : ?usage:bool -> ('a, [ `Msg of string ]) result t -> 'a t
val term_result' : ?usage:bool -> ('a, string) result t -> 'a t
val cli_parse_result : ('a, [ `Msg of string ]) result t -> 'a t
val cli_parse_result' : ('a, string) result t -> 'a t
val main_name : string t
val choice_names : string list t
val with_used_args : 'a t -> ('a * string list) t
type !'a ret = [
  1. | `Error of bool * string
  2. | `Help of Manpage.format * string option
  3. | `Ok of 'a
]
val ret : 'a ret t -> 'a t
val env : (string -> string option) t