aboutsummaryrefslogtreecommitdiffstats
path: root/get-info.lua
blob: d89946c512e2dcc277f16c960ce6d96252b035e6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/env lua5.1
local inspect = require "inspect"
print(arg[1])
local run_macro = loadfile(arg[1])

run_macro()
local f = io.open("version", "r")
version = f:read()

print(script_name)
print(script_description)
print(script_author)
print(script_version)
print(script_namespace)
print(version)
--print(inspect(_G))