(self, cfg: loader::LoaderConfig)
| 84 | } |
| 85 | |
| 86 | pub fn load_plugins(self, cfg: loader::LoaderConfig) -> Self { |
| 87 | loader::load(self.local_key, &cfg).unwrap(); |
| 88 | self |
| 89 | } |
| 90 | |
| 91 | pub fn template_file<P: AsRef<Path>>(mut self, path: P) -> Result<Self> { |
| 92 | self.template = std::fs::read_to_string(path.as_ref())?; |