open-simulation-platform / cosim-cli

Command-line interface for libcosim
https://open-simulation-platform.github.io/cosim
Mozilla Public License 2.0
10 stars 4 forks source link

Use a persistent FMU cache #11

Closed kyllingstad closed 4 years ago

kyllingstad commented 5 years ago

To avoid having to unzip the same FMUs over and over again, CSE CLI should use cse::fmi::importer with a persistent cache directory. A clean-cache subcommand should also be added.

I propose to use $HOME/.cse/fmu-cache on Linux and %LOCALAPPDATA%\CSE\fmu-cache on Windows. (These could be shared by other CSE applications too.)

kyllingstad commented 4 years ago

Further investigation suggest that a cse directory located under one of the following would be more appropriate: