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

Make cache directory configurable #76

Closed kyllingstad closed 4 years ago

kyllingstad commented 4 years ago

This introduces a new environment variable COSIM_CACHE_PATH that lets users choose a location. Documenting it in the help text for the clean-cache subcommand is perhaps not ideal, but I couldn't find a more appropriate place for it.

If we accrue more of these configurable features, we may later consider introducing a ~/.cosimconfig file to let users configure them more permanently.

Fixes #75.