UI.Formatter (fnord v0.8.27)
View SourceFormats output strings using an external command specified by the
FNORD_FORMATTER
environment variable. If unset or empty, returns the
original string. On command failure or non-zero exit code, logs a warning and
returns the original string.
Note: We invoke the formatter via shell -c
, which may be subject to shell
injection if FNORD_FORMATTER
contains malicious content. This CLI is
intended for trusted environments, so this risk is accepted.