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

templates simpler
This commit is contained in:
2026-10-19 14:29:51 -04:00
parent 380f295c93
commit e2864159a8
10 changed files with 550 additions and 496 deletions
+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