replace_argument_placeholders

Function replace_argument_placeholders 

fn replace_argument_placeholders(
    arguments: &[String],
    placeholder: &str,
    replacement: &str,
) -> Vec<String>
Expand description

Replaces placeholders in SSH command arguments.

§Arguments

  • arguments - The argument templates.
  • placeholder - The placeholder string to replace.
  • replacement - The value to replace the placeholder with.

§Returns

A vector of arguments with placeholders replaced.