You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the only way to know where Scarb puts its cache files is to look at relevant Scarb documentation and manually implement if-else chain based on running platform. For example, that's what setup-scarb action does. It would be much easier for everyone if global paths could be accessible programmatically from scarb CLI.
Proposed Solution
Add a new command scarb cache path (residing next to scarb cache clean) which will just println!cache path from Config.
CLI help message for this command: Print path to Scarb's global cache directory
Notes
For extra reference, have a look at yarn cache dir.
Implementation is very trivial, please add a test which just ensures this command succeeds and outputs a single line.
Problem
Currently, the only way to know where Scarb puts its cache files is to look at relevant Scarb documentation and manually implement if-else chain based on running platform. For example, that's what
setup-scarb
action does. It would be much easier for everyone if global paths could be accessible programmatically fromscarb
CLI.Proposed Solution
Add a new command
scarb cache path
(residing next toscarb cache clean
) which will justprintln!
cache path fromConfig
.CLI help message for this command:
Print path to Scarb's global cache directory
Notes
yarn cache dir
.setup-scarb
The text was updated successfully, but these errors were encountered: