style

jaxrens.cli.style.style(text, *names, stream=None)[source]

Wrap text in the ANSI codes named in names (e.g. "bold").

A no-op returning text unchanged when the target stream is not a colour-capable terminal.

Parameters:
Return type:

str