When testing installation using opam, I noticed that piqi command doesn't list any commands. Indeed, the run module doesn't register any and the commands are provided by other modules that are not referenced in run.ml. This commit fixes the issue and packs the commands implementations into the private commands library, which is linked with -linkall to the main executable.
I made the library private by default, i.e., no cmi are installed and modules are not accessible outside of the src folder, but we can easily make it public, if necessary.
When testing installation using opam, I noticed that
piqi
command doesn't list any commands. Indeed, therun
module doesn't register any and the commands are provided by other modules that are not referenced inrun.ml
. This commit fixes the issue and packs the commands implementations into the privatecommands
library, which is linked with-linkall
to the main executable.I made the library private by default, i.e., no cmi are installed and modules are not accessible outside of the
src
folder, but we can easily make it public, if necessary.