comparison bin/luarocks-admin @ 9075:c989a1669243

<fizzie> revert 58b9ee8f97a7
author HackBot
date Sun, 25 Sep 2016 20:31:46 +0000
parents d137f631bad5
children
comparison
equal deleted inserted replaced
9074:560a73f4f0a4 9075:c989a1669243
1 #!/hackenv/bin/lua
2 package.path = [[/hackenv/share/lua/5.2//?.lua;/hackenv/share/lua/5.2//?/init.lua;]]..package.path
3
4 local command_line = require("luarocks.command_line")
5
6 program_name = "luarocks-admin"
7 program_description = "LuaRocks repository administration interface"
8
9 commands = {
10 }
11
12 commands.help = require("luarocks.help")
13 commands.make_manifest = require("luarocks.make_manifest")
14 commands.add = require("luarocks.add")
15 commands.remove = require("luarocks.admin_remove")
16 commands.refresh_cache = require("luarocks.refresh_cache")
17
18 command_line.run_command(...)