Download Luar/moonloader/lib/luarocks/luarocks-admin.lua from andy-gg/LUAR_RP_PC: direct link, hf CLI and curl.
- Browser
- Download file 601 Bytes
-
https://huggingface.co/datasets/andy-gg/LUAR_RP_PC/resolve/main/Luar/moonloader/lib/luarocks/luarocks-admin.lua
- Command line
-
hf download hf://datasets/andy-gg/LUAR_RP_PC/Luar/moonloader/lib/luarocks/luarocks-admin.lua
-
curl -L -o luarocks-admin.lua https://huggingface.co/datasets/andy-gg/LUAR_RP_PC/resolve/main/Luar/moonloader/lib/luarocks/luarocks-admin.lua
601 Bytes
| #!/usr/bin/env lua | |
| -- Load cfg first so that luarocks.loader knows it is running inside LuaRocks | |
| local cfg = require("luarocks.core.cfg") | |
| local loader = require("luarocks.loader") | |
| local cmd = require("luarocks.cmd") | |
| local description = "LuaRocks repository administration interface" | |
| local commands = { | |
| help = "luarocks.cmd.help", | |
| make_manifest = "luarocks.admin.cmd.make_manifest", | |
| add = "luarocks.admin.cmd.add", | |
| remove = "luarocks.admin.cmd.remove", | |
| refresh_cache = "luarocks.admin.cmd.refresh_cache", | |
| } | |
| cmd.run_command(description, commands, "luarocks.admin.cmd.external", ...) | |