view luabuild/luarocks-2.0.12/src/bin/luarocks-admin @ 1374:b0e33c9686bf

<hagb4rd> learn quote-fromatting "two spaces between quoted lines. only one space on each side of [...] ellipses. no space between nicks and the surrounding <>\'s."
author HackBot
date Fri, 11 Jan 2013 13:00:41 +0000
parents ff65dfb63263
children
line wrap: on
line source

#!/hackenv/bin/lua
package.path = [[/hackenv/share/lua/5.2//?.lua;/hackenv/share/lua/5.2//?/init.lua;]]..package.path

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(...)