package fmt
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
OCaml Format pretty-printer combinators
Install
dune-project
Dependency
Authors
Maintainers
Sources
fmt-0.10.0.tbz
sha512=26d7f2002f0f1d605c08129ec09d487a8c37d764b77370e56b869fd94fe6bc903f808159ab7b79e85c2e2b6263ee5fa7df66f9f9625bdf0e726e8a92a9056258
doc/fmt.cli/Fmt_cli/index.html
Module Fmt_cli
Cmdliner support for Fmt.
Option for setting the style renderer
val style_renderer :
?env:Cmdliner.Cmd.Env.info ->
?docs:string ->
unit ->
Fmt.style_renderer option Cmdliner.Term.tstyle_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 Cmdliner.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_tty, forces ANSI styling.--color=autoor absent, the value isNone, automatic setup takes place.
If env is provided, the option default value (None) can be overridden by the corresponding environment variable.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page