-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Return yarn version with yarn -v #3818
Comments
I think this makes a lot of sense. @bestander @arcanis @kittens objections? I looked at the code and there doesn't seem to be anything that depends on a |
This was raised many times, see this discussion #3395. v/V is ambiguous and everyone has an opinion what should they mean depending on their background. We ended up on agreeing that there should be no shorthands at all and use At the same time |
I think this can be closed, @BYK up to you |
I'd disagree and argue Yarn should stay as close to the Node/NPM command style as possible, but it looks like the decision has been make. In my opinion |
Not a decision, more like a status quo.
I like `node/npm -v` myself but unix fanboys don't.
…On 5 July 2017 at 13:50, Jeroen Akkerman ***@***.***> wrote:
I'd disagree and argue Yarn should stay as close to the Node/NPM command
style as possible, but it looks like the decision has been make. In my
opinion -v is an essential shorthand command
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#3818 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ACBdWFG9P4vDhmIKNubUX5hLd9YQg727ks5sK_cugaJpZM4ONLIa>
.
|
I actually like this suggestion: #3395 (comment) @bestander @arcanis - I think being compatible with Currently when you do Thoughts? |
Sounds good. |
As long as you deal with |
…mands (#3913) * add -v command * Add -v command * reorder tests
Thanks! |
Do you want to request a feature or report a bug?
Feature
What is the current behavior?
yarn -v
runsyarn install
.yarn -V
returns version of yarnWhat is the expected behavior?
yarn -v
returns version of yarnThis would be in line with Node and NPM version outputs (
node -v
andnpm -v
respectively).Please mention your node.js, yarn and operating system version.
Node 6.11.0
Yarn 0.27.5
Kubuntu 17.04
The text was updated successfully, but these errors were encountered: