Open casella opened 2 years ago
Thinking about "separation of concerns", would it not be preferable to expose the package manager as a separate slim CLI tool instead of adding this on top of omc
compiler via more flags?
E.g., provide the above command via (e.g.) ompkg install "Modelica 4.0.0" "Buildings 9"
?
For some applications, see e.g. #9357, it would be nice if one could install libraries directly by launching omc with suitable command-line flages. For example:
should call the package manager and install those two libraries.
The implementation of
--installPackages
would be really straightforward: it is just required to parse the strings, extracting the package name and version, and run this simple interactive environment script: