blob: 660c0a70f8af5fb33d1916035b49a02d48720d2b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#!/usr/bin/env lua
-- this should be loaded first.
local cfg = require("luarocks.core.cfg")
local loader = require("luarocks.loader")
local command_line = require("luarocks.command_line")
program_description = "LuaRocks repository administration interface"
commands = {
help = "luarocks.help",
make_manifest = "luarocks.admin.make_manifest",
add = "luarocks.admin.add",
remove = "luarocks.admin.remove",
refresh_cache = "luarocks.admin.refresh_cache",
}
command_line.run_command(...)
|