mirror of
https://github.com/TangentFoxy/.lua-files.git
synced 2024-11-20 21:34:23 +00:00
14 lines
618 B
Lua
14 lines
618 B
Lua
#!/usr/bin/env luajit
|
|
|
|
-- if utility-functions.lua has an error, this won't show it, so for testing purposes, I don't use it here
|
|
-- local error_occurred, utility = pcall(function() return dofile(arg[0]:match("@?(.*/)") or arg[0]:match("@?(.*\\)") .. "utility-functions.lua") end) if not error_occurred then error("\n\nThis script is installed improperly. Follow instructions at:\n\thttps://github.com/TangentFoxy/.lua-files#installation\n") end
|
|
utility = dofile(arg[0]:match("@?(.*/)") or arg[0]:match("@?(.*\\)") .. "utility-functions.lua")
|
|
|
|
print("---")
|
|
|
|
for k,v in pairs(utility) do
|
|
print(k,v)
|
|
end
|
|
|
|
print("---")
|