5.3.1.24.5.3. cli.helpers.click_helpers.secho

cli.helpers.click_helpers.secho(msg: str | bytes | None = None, nl: bool = True, fg: str | None = None) None

Print a colored message to stdout.

Parameters:
  • msg – Message to print.

  • nl – Whether to append a trailing newline.

  • fg – Optional foreground color.