0f5d932c4f
This should not convert JSON to a Lua table and back, as this loses the distinction between arrays and objects, but as our site.conf is defined in Lua anyways (for now), this can be fixed in a later revision. [Matthias Schiffer: rename to gluon-show-site, rebase]
7 lines
116 B
Lua
Executable File
7 lines
116 B
Lua
Executable File
#!/usr/bin/lua
|
|
|
|
local json = require 'jsonc'
|
|
local site = require 'gluon.site'
|
|
|
|
print(json.stringify(site(), true))
|