type t = { noclobber : bool; pipefail : bool; errexit : bool; no_path_expansion : bool; no_unset : bool; all_export : bool; async : bool; } val jsont : t Jsont.t val to_letters : t -> string type posix = [ `Noclobber | `Pipefail | `Noglob | `Nounset | `Errexit | `Allexport ] type merry = [ `Async ] type option = [ posix | merry ] val get : option -> t -> bool (** [get opt t] access the option [opt] in [t]. *) val set : option -> bool -> t -> t (** [set opt b t] sets the option [opt] to the value [b]. *) val posix_to_letter : option -> string val default : t val with_options : ?noclobber:bool -> ?pipefail:bool -> ?errexit:bool -> ?async:bool -> ?no_path_expansion:bool -> ?no_unset:bool -> ?all_export:bool -> t -> t val update : t -> (option * bool) list -> t val pp : t Fmt.t