It would be great if pkgx allowed to query pkgs for their provides, for example:
$ pkgx --provides +git@2.34 --json=v1
{
"provides": [
{
"project": "git-scm.org",
"provides: ["bin/git"]
}
]
}
Note it should not install git@2.34, which happens without --provides. Also, the output should not contain the provides of the dependencies.
This would allow to drop the dependency on libpkgx in pkgm but would also allow me to write my own pkgm for shims using just bash.
What do you think?
It would be great if pkgx allowed to query pkgs for their provides, for example:
Note it should not install git@2.34, which happens without
--provides. Also, the output should not contain theprovidesof the dependencies.This would allow to drop the dependency on
libpkgxinpkgmbut would also allow me to write my ownpkgmfor shims using just bash.What do you think?