From 275347b862bec89f1733fbde3f516e4de6ce3eba Mon Sep 17 00:00:00 2001 From: garret Date: Sun, 20 Nov 2022 02:57:52 +0000 Subject: info getter: add config support --- get-info.lua | 3 +++ 1 file changed, 3 insertions(+) (limited to 'get-info.lua') 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)) -- cgit v1.2.3-70-g09d2