Mercurial > repo
view bin/luarocks-admin @ 3898:d412a26653e5
<fizzie> printf \'%s\\n\' \'#!/usr/bin/env python\' \'import sys\' \'import unicodedata\' \'print u" ".join("[{0}]".format(unicodedata.name(c, "DUNNO")) for c in " ".join(sys.argv[1:]).decode("utf-8")).encode("utf-8")\' > bin/unidecode
author | HackBot |
---|---|
date | Fri, 11 Oct 2013 13:53:14 +0000 |
parents | d137f631bad5 |
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(...)