diff options
author | garret <garret@airmail.cc> | 2022-11-20 02:57:52 +0000 |
---|---|---|
committer | garret <garret@airmail.cc> | 2022-11-20 02:57:52 +0000 |
commit | 275347b862bec89f1733fbde3f516e4de6ce3eba (patch) | |
tree | 56586fde9fcf4fa41f5cff570035b7fcbc8edc66 /get-info.lua | |
parent | 7ca48b49732e205d328946b2723036f0b5e81ed6 (diff) | |
download | depctrl-feedmaker-275347b862bec89f1733fbde3f516e4de6ce3eba.tar.gz depctrl-feedmaker-275347b862bec89f1733fbde3f516e4de6ce3eba.tar.bz2 depctrl-feedmaker-275347b862bec89f1733fbde3f516e4de6ce3eba.zip |
info getter: add config support
Diffstat (limited to 'get-info.lua')
-rwxr-xr-x | get-info.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/get-info.lua b/get-info.lua index 80b3fd9..87b5583 100755 --- a/get-info.lua +++ b/get-info.lua @@ -3,6 +3,8 @@ local inspect = require "inspect" print(arg[1]) local run_macro = loadfile(arg[1]) +local conf = loadfile("conf.lua")() + run_macro() print(script_name) @@ -11,4 +13,5 @@ print(script_author) print(script_version) print(script_namespace) print(inspect(__feedmaker_version)) +print(inspect(conf)) --print(inspect(_G)) |