Module Cli.B0_std
B0_std configuration.
Cli arguments
val color : ?docs:string -> ?env:Cmdliner.Arg.env -> unit -> B0_std.Tty.cap option Cmdliner.Term.tcolor ~docs ~envis a cli interface for specifiying the color capability of the terminal. Can be used withFmt.set_tty_styling_cap.docsis where the options are documentedenvis an environment variable that can be used to override the defaultNone(auto configuration).
val verbosity : ?docs:string -> ?env:Cmdliner.Arg.env -> unit -> B0_std.Log.level Cmdliner.Term.tverbosity ~docs ~env ()is a cli interface for specifiying the logging level. Can be used withLog.set_level.docsis where the options are documented.envis an environment variable that can be used to override the default value (Log.Warning).
val setup : ?docs:string -> ?log_spawns:B0_std.Log.level -> ?color_env:Cmdliner.Arg.env -> ?verbosity_env:Cmdliner.Arg.env -> unit -> unit Cmdliner.Term.tsetup ~docs ~log_spawns ~color_env ~verbosity_env ()usescolorandverbosityto setup:B0_std.Fmt.set_tty_styling_cap, usingTty.of_fd onUnix.stdoutifcolorisNone.B0_std.Log.set_level withverbosity.log_spawnslogB0_std.Os.Cmd spawns by setting up aB0_std.Os.Cmd.spawn_tracer that traces with the given level. IfLevel.Quietis specified no tracer is registered. Defaults toB0_std.Log.Debug.
docsis where the section in which the options are documented andcolor_envandverbosity_envare used with theenvargument ofcolorandverbosity.