Skip to content

uluadist/lua-pkg

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
August 16, 2015 23:58
February 13, 2016 18:50
February 13, 2016 18:52
March 12, 2016 17:57

Pkg: ULua Package Manager

A simple but powerful package manager for the ULua distribution.

Features

  • install, remove, list, query, update packages
  • proxy (with auth) support
local pkg = require 'pkg'

pkg.available()            -- List all available packages.
pkg.available('?penlight') -- List available packages matching in name or description 'penlight'.
pkg.available('pl')        -- Detailed info about Penlight.

pkg.add('pl')              -- Install Penlight and its dependencies.
pkg.remove('pl')           -- Remove Penlight and all packages that depend on it.

pkg.update()               -- Update all packages.

Upkg

An helper executable named upkg is included which replicates the functionality of this module.

upkg command [-s] [name] [version]
  command : one of "status", "available", "add", "remove", "update"
  -s      : enable searching (only for "status" and "available" commands)
  name    : package name
  version : package version

Install

This module is included in the ULua distribution.

Documentation

Refer to the official documentation.

About

Pkg: ULua package manager

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages