CHORE: officially renamed files to be deprecated and also made making

templates simpler
This commit is contained in:
DarthMooMancer committed 2026-10-19 14:29:51 -04:00
1 parent 380f295c93
commit e2864159a8
10 files changed
+550 -496

No files matched your search

+2 -2
View File
@@ -2,13 +2,13 @@ local M = {}
---@param path string
---@param content string
function M.write_file(path, content)
function M.dump(path, content)
local file = assert(io.open(path, "w"), "Error creating file: " .. path)
file:write(content)
file:close()
end
function M.interpolate(str, ctx)
function M.fmt(str, ctx)
return (str:gsub("{([^}]+)}", ctx))
end