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

Feature request: add CLI flag to suppress yarn version and success message #2469

Open
scinos opened this issue Jan 16, 2017 · 0 comments
Open

Comments

@scinos
Copy link

scinos commented Jan 16, 2017

Do you want to request a feature or report a bug?
Feature

What is the current behavior?
Yarn version and success message are always output

For example, with yarn 0.18.1, running the command yarn cache dir (in OSX) produces:

yarn cache v0.18.1
/Users/sergio/Library/Caches/Yarn
✨  Done in 0.05s.

This makes very hard to programatically capture the cache directory, for example to pack it and save it somewhere. In other words, I'd like to do cp $(yarn cache dir) /somewhere.

There are related open issues (#728, #788, #1340), but they don't cover this use case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant