pak.git #
methods #
M.install #
function M.install(cb: function) -> nil
@param cb
- A callback which is called after the installation has
completed
Installs all registered packages
M.update #
function M.update(cb) -> nil
Updates all registered packages
M.remove #
function M.remove(packdir: string) -> nil
@param packdir
- The directory to look for unregistered packages
Removes all unregistered packages in the given directory
M.clean #
function M.clean() -> nil
Cleans all unregistered packages in all runtime directories