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
{{ message }}
This repository has been archived by the owner on Apr 30, 2019. It is now read-only.
I tried the first one and got failed for many times, this kind of ordering arguments always confuses me.
It would be better if tsd install could tell me --save is unable to install, so I can figure out that I have made a mistake on arguments-ordering.
The text was updated successfully, but these errors were encountered:
amphineko
changed the title
"install --save something" thinks "--save" is the definition to install
tsd command line deals the first switch as definition name
Jan 17, 2016
amphineko
changed the title
tsd command line deals the first switch as definition name
tsd command line treats the first switch as definition name
Jan 17, 2016
Yea, this bug has confused me too. I think the position of the command line options should not matter. npm and bower behave this way so if developers grow habit of putting --save first they will have trouble using tsd. As amphineko said this is also misleading because the user thinks the package doesn't exist when it was actually interpreting the command differently.
I'm trying to install definitions in my usual way on npm, like "npm install --save something".
I tried the first one and got failed for many times, this kind of ordering arguments always confuses me.
It would be better if
tsd install
could tell me--save
is unable to install, so I can figure out that I have made a mistake on arguments-ordering.The text was updated successfully, but these errors were encountered: