Skip to content

IPL-Foundation/ILI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ILI (IPL Library Installer)

ILI is the package manager for IPL It installs, updates and removes IPL libraries and even has colors.

Installation

git clone https://github.com/I-had-a-bad-idea/ILI.git C:\ProgramData\ILI
cargo install --path C:\ProgramData\ILI

After installation, the ili command becomes available system-wide. You can configure the ILI_PATH environment variable to configure where ILI data will be saved.

Commands

Call commands via ili command args

install <name>

Install a library from the registry. Downloads the library, extracts it into the IPL library directory, and install dependencies.

update (<name>)

Update an installed library and its dependencies, if name is given. Else updates all libraries.

remove <name>

Remove a previously installed library, including its metadata and local files.

where <name>

Print the installation path of a library.

list

Lists all installed libraries

reinstall <name>

Removes and freshly installs a library

sync

Pulls the latest registry index so ili knows about new/updated libraries.

update-ili

Pulls the latest version of ILI and updates the installation.

Registry Structure

ILI expects the registry to contain entries describing libraries (name, version, source URL, metadata). Libraries are fetched from the URLs listed in the registry.

Contributing a Library

  1. Use the example library as a template

  2. Create a valid Library.json It must include:

    • name
    • version
    • entry (the main IPL file) (use forward slashes "/" for cross-OS)
    • dependencies (list of all dependencies to install)
  3. Add it to the registry Submit a pull request adding a new entry for your library in the registry file. Follow the example already in the registry file (you need a name, and the url to your git repo).