pub fn generate_config(config: &RedactConfig) -> Result<()>
Generate a YAML config file by analyzing the input