Module luarocks.remove
Module implementing the LuaRocks "remove" command.
Uninstalls rocks.
Functions
run (name, version, ...) | Driver function for the "remove" command. |
Functions
- run (name, version, ...)
-
Driver function for the "remove" command.
Parameters:
name
: string: name of a rock. If a version is given, refer to a specific version; otherwise, try to remove all versions.version
: string: When passing a package name, a version number may also be given....
:
Returns:
-
boolean or (nil, string): True if removal was
successful, nil and an error message otherwise.