Jump To 🏠 dk dkcoder-libraries(7) dkcoder-macros(7) Table of Contents cmdliner Library cmdliner Cmdliner Manpage Term Cmd Arg Cmdliner_arg Cmdliner_base Cmdliner_cline Cmdliner_cmd Cmdliner_docgen Cmdliner_eval Cmdliner_exit Cmdliner_info Exit Env Arg Cmd Eval Cmdliner_manpage Cmdliner_msg Cmdliner_term Syntax Cmdliner_term_deprecated Cmdliner_trie Arguments Sourcetype absence = | Err(*an error is reported.*)| Val of string Stdlib.Lazy.t(*if <> "", takes the given default value.*)| Doc of string(*if <> "", a doc string interpreted in the doc markup language.*)The type for what happens if the argument is absent from the cli.Sourcetype opt_kind = | Flag(*without value, just a flag.*)| Opt(*with required value.*)| Opt_vopt of string(*with optional value, takes given default.*)The type for optional argument kinds.Sourcetype pos_kindSourceval pos : rev:bool -> start:int -> len:int option -> pos_kindSourceval pos_rev : pos_kind -> boolSourceval pos_start : pos_kind -> intSourceval pos_len : pos_kind -> int optionSourcetype tSourceval v : ?deprecated:string -> ?absent:string -> ?docs:string -> ?docv:string -> ?doc:string -> ?env:Env.info -> string list -> tSourceval id : t -> intSourceval deprecated : t -> string optionSourceval absent : t -> absenceSourceval env : t -> Env.info optionSourceval doc : t -> stringSourceval docv : t -> stringSourceval docs : t -> stringSourceval opt_names : t -> string listSourceval opt_name_sample : t -> stringSourceval opt_kind : t -> opt_kindSourceval pos_kind : t -> pos_kindSourceval make_req : t -> tSourceval make_all_opts : t -> tSourceval make_opt : absent:absence -> kind:opt_kind -> t -> tSourceval make_opt_all : absent:absence -> kind:opt_kind -> t -> tSourceval make_pos : pos:pos_kind -> t -> tSourceval make_pos_abs : absent:absence -> pos:pos_kind -> t -> tSourceval is_opt : t -> boolSourceval is_pos : t -> boolSourceval is_req : t -> boolSourceval pos_cli_order : t -> t -> intSourceval rev_pos_cli_order : t -> t -> intSourceval compare : t -> t -> intSourcemodule Set : Stdlib.Set.S with type elt = t