Module Cmdliner_def.Complete

Complete instruction.

type kind =
  1. | Opt_value of Arg_info.t
  2. | Opt_name_or_pos_value of Arg_info.t
  3. | Opt_name
type directives =
  1. | Directives : ('a Arg_completion.directive list, string) Stdlib.result -> directives
type t
val make : ?after_dashdash:bool -> ?subcmds:bool -> Cline.t -> prefix:string -> kind -> t
val context : t -> Cline.t
val add_subcmds : t -> t
val add_directives : ('a Arg_completion.directive list, string) Stdlib.result -> t -> t
val prefix : t -> string
val after_dashdash : t -> bool
val subcmds : t -> bool
val kind : t -> kind
val directives : t -> directives