package mopsa

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Utils_core.ArgExtSource

include module type of struct include Arg_complete end
type complete = string -> string list
type complete_all = string list -> string list
type spec = Arg_complete.spec =
  1. | Unit of unit -> unit
  2. | Bool of bool -> unit
  3. | Set of bool Stdlib.ref
  4. | Clear of bool Stdlib.ref
  5. | String of string -> unit * complete
  6. | Set_string of string Stdlib.ref * complete
  7. | Int of int -> unit * complete
  8. | Set_int of int Stdlib.ref * complete
  9. | Float of float -> unit * complete
  10. | Set_float of float Stdlib.ref * complete
  11. | Tuple of spec list
  12. | Symbol of string list * string -> unit
  13. | Rest of string -> unit * complete
  14. | Rest_all of string list -> unit * complete_all
  15. | Expand of string -> string array
module Rest_all_compat = Arg_complete.Rest_all_compat
type speclist = (Stdlib.Arg.key * spec * Stdlib.Arg.doc) list
type arg_speclist = (Stdlib.Arg.key * Stdlib.Arg.spec * Stdlib.Arg.doc) list
val arg_spec : spec -> Stdlib.Arg.spec
val arg_speclist : speclist -> arg_speclist
type anon_complete = complete
val complete_argv : ?prefer_getopt_long:bool -> string list -> speclist -> anon_complete -> string list
val empty : complete
val empty_all : complete_all
val strings : string list -> complete
module Util = Arg_complete.Util
Sourcetype arg = {
  1. key : string;
  2. doc : string;
  3. category : string;
  4. default : string;
  5. spec : spec;
}
Sourceval argext_to_arg : arg -> string * Stdlib.Arg.spec * string
Sourceval argext_to_arg_list : arg list -> (string * Stdlib.Arg.spec * string) list
Sourceval string_list_lifter : (string list -> unit) -> string -> unit
Sourceval set_string_list_lifter : string list Stdlib.ref -> string -> unit
Sourceval complete_files_in_dir : ?prefix:string -> string -> complete
OCaml

Innovation. Community. Security.