handle_replace

Function handle_replace 

Source
pub fn handle_replace(args: &ReplaceArgs) -> Result<()>
Expand description

Handle replace command to replace environment variable values using patterns.

ยงErrors

This function will return an error if:

  • Environment variable operations fail (loading, replacing)
  • Pattern matching fails or produces invalid results
  • File I/O operations fail when persisting changes
  • Wildcard pattern parsing fails