sig
type conf = t
val const : 'a -> 'a B0.Conf.value
val discover :
?store:bool ->
(B0.Env.t -> B0.Env.build_aim -> 'a key -> t -> 'a B0.result) ->
'a B0.Conf.value
type def
val def : ?doc:string -> 'a key -> 'a B0.Conf.value -> B0.Conf.Preset.def
val def_key : B0.Conf.Preset.def -> B0.Conf.Key.t
val def_doc : B0.Conf.Preset.def -> string
type binding = B : 'a key * 'a B0.Conf.value -> B0.Conf.Preset.binding
val def_binding : B0.Conf.Preset.def -> B0.Conf.Preset.binding
type t
val v :
?loc:B0.Def.loc ->
?doc:string -> string -> B0.Conf.Preset.def list -> B0.Conf.Preset.t
val value_kind : string
val name : t -> string
val loc : t -> Def.loc
val doc : t -> string
val equal : t -> t -> bool
val compare : t -> t -> int
val compare_by_name : t -> t -> int
val find : string -> t option
val get : string -> t
val get_or_suggest : string -> (t, string list) result
val list : unit -> t list
val pp_name_str : string Fmt.t
val pp_name : t Fmt.t
val pp_synopsis : t Fmt.t
val pp_info : t Fmt.t
val pp_info_ext : t Fmt.t -> t Fmt.t
val defs : B0.Conf.Preset.t -> B0.Conf.Preset.def list
val find_def : string -> B0.Conf.Preset.t -> B0.Conf.Preset.def option
val get_or_suggest_def :
string ->
B0.Conf.Preset.t -> (B0.Conf.Preset.def, string list) Pervasives.result
val keys : B0.Conf.Preset.t -> B0.Conf.Key.t list
type def_error = string * [ `Msg of string ]
val add :
B0.Env.t ->
B0.Env.build_aim ->
B0.Conf.Preset.t ->
B0.Conf.Preset.conf ->
B0.Conf.Preset.conf * B0.Conf.Preset.def_error list
val rem : B0.Conf.Preset.t -> B0.Conf.Preset.conf -> B0.Conf.Preset.conf
end