expand_str

Function expand_str 

Source
pub fn expand_str(input: &str) -> String
Expand description

Expand templating tokens in a string

Processes template tokens in the input string and replaces them with generated values. Supports UUID, timestamps, random numbers, faker data, environment variables, and more.

§Arguments

  • input - String containing template tokens (e.g., “{{uuid}}”, “{{now}}”)

§Returns

String with all template tokens replaced