More data object creation and test commands
This commit is contained in:
@@ -30,6 +30,8 @@ public static class SztlParser
|
||||
_ => throw new NotImplementedException($"Unknown template_type '{templateType}'")
|
||||
};
|
||||
|
||||
template.SztlText = tomlText.Trim();
|
||||
|
||||
if (metadata.TryGetValue("id", out var idVal)) template.Id = idVal?.ToString()!;
|
||||
else throw new Exception("Template missing id metadata");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user