Skip to main content

Module string

Module string 

Source
Expand description

String utility functions for formatting and display.

These helpers are used throughout the CLI for consistent presentation of values in terminal output.

Functions§

pluralize
Return a count-aware string using the correct singular or plural form.
redact
Redact a sensitive value for safe display in terminal output.
truncate
Truncate a string to max_len characters.