Templating (#43)

Add new `templating` crate with custom parser/renderer for dealing with
variables
This commit is contained in:
Gregory Schier
2024-06-07 08:39:12 -07:00
committed by GitHub
parent 558b429807
commit 372588f541
13 changed files with 572 additions and 31 deletions

View File

@@ -755,8 +755,8 @@ async fn cmd_import_data(
"importer-yaak",
"importer-curl",
];
let file = read_to_string(file_path)
.unwrap_or_else(|_| panic!("Unable to read file {}", file_path));
let file =
read_to_string(file_path).unwrap_or_else(|_| panic!("Unable to read file {}", file_path));
let file_contents = file.as_str();
for plugin_name in plugins {
let v = run_plugin_import(&w.app_handle(), plugin_name, file_contents)