Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add scarb cache path command #558

Closed
mkaput opened this issue Aug 11, 2023 · 0 comments
Closed

Add scarb cache path command #558

mkaput opened this issue Aug 11, 2023 · 0 comments
Labels
good first issue Good for newcomers

Comments

@mkaput
Copy link
Member

mkaput commented Aug 11, 2023

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 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
Archived in project
Development

No branches or pull requests

2 participants