Download Luar/moonloader/lib/luarocks/luarocks.lua from andy-gg/LUAR_RP_PC: direct link, hf CLI and curl.
- Browser
- Download file 1.12 kB
-
https://huggingface.co/datasets/andy-gg/LUAR_RP_PC/resolve/main/Luar/moonloader/lib/luarocks/luarocks.lua
- Command line
-
hf download hf://datasets/andy-gg/LUAR_RP_PC/Luar/moonloader/lib/luarocks/luarocks.lua
-
curl -L -o luarocks.lua https://huggingface.co/datasets/andy-gg/LUAR_RP_PC/resolve/main/Luar/moonloader/lib/luarocks/luarocks.lua
1.12 kB
| #!/usr/bin/env lua | |
| -- Load cfg first so that the 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 main command-line interface" | |
| local commands = { | |
| help = "luarocks.cmd.help", | |
| init = "luarocks.cmd.init", | |
| pack = "luarocks.cmd.pack", | |
| unpack = "luarocks.cmd.unpack", | |
| build = "luarocks.cmd.build", | |
| install = "luarocks.cmd.install", | |
| search = "luarocks.cmd.search", | |
| list = "luarocks.cmd.list", | |
| remove = "luarocks.cmd.remove", | |
| make = "luarocks.cmd.make", | |
| download = "luarocks.cmd.download", | |
| path = "luarocks.cmd.path", | |
| show = "luarocks.cmd.show", | |
| new_version = "luarocks.cmd.new_version", | |
| lint = "luarocks.cmd.lint", | |
| write_rockspec = "luarocks.cmd.write_rockspec", | |
| purge = "luarocks.cmd.purge", | |
| doc = "luarocks.cmd.doc", | |
| upload = "luarocks.cmd.upload", | |
| config = "luarocks.cmd.config", | |
| which = "luarocks.cmd.which", | |
| test = "luarocks.cmd.test", | |
| } | |
| cmd.run_command(description, commands, "luarocks.cmd.external", ...) | |