Module Fmt_cli

module Fmt_cli: sig .. end
Cmdliner support for Fmt.

v0.8.0 - homepage

Option for setting the style renderer

val style_renderer : ?env:Cmdliner.Arg.env ->
?docs:string -> unit -> Fmt.style_renderer option Cmdliner.Term.t
style_renderer ?env ?docs () is a Cmdliner option --color that can be directly used with the optional arguments of TTY setup or to control style rendering. The option is documented under docs (defaults to the default in

The option is a tri-state enumerated value that when used with TTY setup takes over the automatic setup:

If env is provided, the option default value (None) can be overridden by the corresponding environment variable.