ILI is the package manager for IPL It installs, updates and removes IPL libraries and even has colors.
git clone https://github.com/I-had-a-bad-idea/ILI.git C:\ProgramData\ILI
cargo install --path C:\ProgramData\ILIAfter installation, the ili command becomes available system-wide.
You can configure the ILI_PATH environment variable to configure where ILI data will be saved.
Call commands via ili command args
Install a library from the registry. Downloads the library, extracts it into the IPL library directory, and install dependencies.
Update an installed library and its dependencies, if name is given. Else updates all libraries.
Remove a previously installed library, including its metadata and local files.
Print the installation path of a library.
Lists all installed libraries
Removes and freshly installs a library
Pulls the latest registry index so ili knows about new/updated libraries.
Pulls the latest version of ILI and updates the installation.
ILI expects the registry to contain entries describing libraries (name, version, source URL, metadata). Libraries are fetched from the URLs listed in the registry.
-
Use the example library as a template
-
Create a valid
Library.jsonIt must include:nameversionentry(the main IPL file) (use forward slashes "/" for cross-OS)dependencies(list of all dependencies to install)
-
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).