1
2
3
4
5
6
7
8
9
10
11
12
13
use super::Config;
use anyhow::Result;
use std::path::Path;

pub fn patch(
    yaml_file: &Path,
    out_path: Option<&Path>,
    format_config: Option<&Path>,
    config: &Config,
) -> Result<()> {
    super::process_file(yaml_file, out_path, format_config, config)?;
    Ok(())
}