Mercurial > repo
view luabuild/luarocks-2.0.12/src/bin/luarocks-admin @ 1125:87f6d05d4b4a
<GreyKnight> (cd luabuild; tar xf luarocks-2.0.12.tar.gz)
author | HackBot |
---|---|
date | Fri, 14 Dec 2012 22:07:40 +0000 |
parents | |
children | ff65dfb63263 |
line wrap: on
line source
#!/usr/bin/env lua local command_line = require("luarocks.command_line") program_name = "luarocks-admin" program_description = "LuaRocks repository administration interface" commands = { } commands.help = require("luarocks.help") commands.make_manifest = require("luarocks.make_manifest") commands.add = require("luarocks.add") commands.remove = require("luarocks.admin_remove") commands.refresh_cache = require("luarocks.refresh_cache") command_line.run_command(...)