yerba 0.5.1

YAML Editing and Refactoring with Better Accuracy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use super::run_yerbafile;

#[derive(clap::Args)]
#[command(about = "Apply Yerbafile rules to all matching files (or specific files)")]
pub struct Args {
  /// Specific files to apply rules to (applies to all if omitted)
  files: Vec<String>,
}

impl Args {
  pub fn run(self) {
    run_yerbafile(true, self.files);
  }
}