rotz 1.2.1

Fully cross platform dotfile manager written in rust.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
mod selector;
mod structure;

#[macro_export]
macro_rules! parse {
  ($format:literal, $engine:expr, $parameters:expr) => {
    $crate::dot::from_str_with_defaults(
      std::fs::read_to_string(std::path::Path::new(file!()).parent().unwrap().join(format!("dot.{}", $format)))
        .unwrap()
        .as_str(),
      $crate::FileFormat::try_from($format).unwrap(),
      None,
      $engine,
      $parameters,
    )
    .unwrap()
  };
}