Howdy --
As best I can tell, there are currently two ways to list installed packages:
- The REPO LIST command, which returns complete output, but in a format clearly intended for human consumption. - The repo:list() function, which is more programatically accessible but returns only namespaces (no version numbers)... simply repeating a single namespace twice if two versions of that package are installed.
A mechanism to access the installed package list which includes versioning and directory info (the latter to allow uninstallation of a specific version using repo:delete) would be useful.