Open icfantv opened 6 years ago
Hey! Thank you for your input here.
What exactly did you mean making more like nvm? Does it mean something like tvm should have exactly same subcommands with nvm?
Yea, sorry. I could have done better with more context. I mean like installing via homebrew (e.g.) and being able to just call tsc
from the command line without the tvm
part first. That is, nvm provides a script such that one can do:
# ensure NVM is available from the command line
export NVM_DIR="$HOME/.nvm"
source $(brew --prefix nvm)/nvm.sh
And then I can just do $ tsc foo.ts
and it "gets/uses the right version of Typescript."
Hopefully that was more clear. Please let me know if you have any other questions.
I see! That's a good idea, and we also can consider using an alias as mentioned in the README.
alias tsc='tvm tsc'
Patch is welcomed, and I will think of how it can be a better design since it'd be major-update.
It would also be nice to have the lts
(long-term support) options like nvm too
First off, I think this is a brilliant idea. I think it would be even better if it were made more like nvm. Feel free to shoot this down or what not, just my two cents.