Something went wrong. Try again.
Shells in OCaml
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142type t = { noclobber : bool; pipefail : bool; errexit : bool; no_path_expansion : bool; no_unset : bool; all_export : bool; async : bool;}
val jsont : t Jsont.tval 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 -> stringval 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 -> tval pp : t Fmt.t