Mercurial > repo
comparison bin/luarocks-admin @ 5643:56dcce63901b
<tswett> revert
author | HackBot |
---|---|
date | Sun, 21 Jun 2015 02:47:59 +0000 |
parents | d137f631bad5 |
children |
comparison
equal
deleted
inserted
replaced
5642:987c834ab84d | 5643:56dcce63901b |
---|---|
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(...) |