10 lines
204 B
Lua
10 lines
204 B
Lua
local function cmd(arg)
|
|
local toString = require('xmllpegparser').tostring
|
|
local s = toString(env.db,"\t")
|
|
local fh = io.open(env.file,"w")
|
|
fh:write(s)
|
|
fh:close()
|
|
env.changed = false
|
|
end
|
|
return cmd
|