nativescript-cli
nativescript-cli copied to clipboard
tns doctor to provide component update instructions
Is your feature request related to a problem? Please describe.
When tns doctor command is executed and some components needs an update, it prints following information
‼ Update available for component nativescript. Your current version is 4.2.3 and the latest available version is 5.0.0.
√ Component tns-core-modules has 5.0.1 version and is up to date.
‼ Update available for component tns-android. Your current version is 4.2.0 and the latest available version is 5.0.0.
Describe the solution you'd like It would be great if tns doctor also tells how to update the component. Describe alternatives you've considered Search net for update instructions https://docs.nativescript.org/releases/upgrade-instructions
Additional context None
@NickIliev @rosen-vladimirov Hey, might I work on this? What about a quick message at the end of it with a link to the upgrade instructions in case any of the components needs to be updated?
Also, I think that the link is now https://v7.docs.nativescript.org/releases/upgrade-instructions. Is there an easy way to verify NativeScript's last available version to make a better effort to point to the correct URL (using the correct v6, v7, v8... domain)? I ask that because if I point simply to https://docs.nativescript.org/releases/upgrade-instructions it doesn't work correctly.