Download specific package version with Semver is awkward
Currently, if you want to download a specific version the semver syntax is kind of awkward. Happy to close this issue, if others are OK with the current behavior.
Example:
warg download namespace:package-name --version 0.1.0
This will match ^0.1.0 instead of =0.1.0.
In order to download the exact match:
warg download namespace:package-name --version \=0.1.0
= needs to be escaped with \
= needs to be escaped with \
What shell do you use? zsh sees = and \= as identical
Anyway, I would agree that --version 0.1.0 ought to mean =0.1.0. We could check if the first char is a digit and prepend =, which would still let you do --version '^0.1.0' to get the current behavior.
= needs to be escaped with \
What shell do you use?
zshsees=and\=as identical
Using zsh on MacOS. Doesn't work for me without escaping.