Skip to content
Snippets Groups Projects
Unverified Commit 0f5d932c authored by lemoer's avatar lemoer Committed by Matthias Schiffer
Browse files

gluon-core: add util gluon-show-site to print merged site config

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]
parent 58171708
No related branches found
No related tags found
No related merge requests found
#!/usr/bin/lua
local json = require 'jsonc'
local site = require 'gluon.site'
print(json.stringify(site(), true))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment