pub(crate) fn interpolate_command( command_part: &str, full_id: &str, ports: &BTreeMap<String, String>, ) -> String