Module Fmt_cli
Cmdliner support for Fmt.
v0.8.5 - homepage
Option for setting the style renderer
val style_renderer : ?env:Cmdliner.Arg.env -> ?docs:string -> unit -> Fmt.style_renderer option Cmdliner.Term.tstyle_renderer ?env ?docs ()is aCmdlineroption--colorthat can be directly used with the optional arguments of TTY setup or to control style rendering. The option is documented underdocs(defaults to the default inCmdliner.Arg.info).The option is a tri-state enumerated value that when used with TTY setup takes over the automatic setup:
--color=never, the value isSome `None, forces no styling.--color=always, the value isSome `Ansi, forces ANSI styling.--color=autoor absent, the value isNone, automatic setup takes place.
If
envis provided, the option default value (None) can be overridden by the corresponding environment variable.