Skip to main content

Module utils

Module utils 

Source
Expand description

Shared utility functions for ctx.

This module contains helper functions used across multiple command modules.

Functionsยง

lexical_tokens
Split a string into normalized lexical tokens for path / identifier matching.
truncate_path
Truncate a path from the beginning, respecting UTF-8 char boundaries.
truncate_str
Truncate a string with ellipsis, respecting UTF-8 char boundaries.