near / near-cli

General purpose command line tools for interacting with NEAR Protocol
https://docs.near.org
MIT License
193 stars 93 forks source link

Make CLI Version Suggestion Global Instead of Local #987

Closed idea404 closed 2 years ago

idea404 commented 2 years ago

Previous NEAR CLI notifications would recommend running a local command to upgrade the near-cli:

image

This would create errors when running from within a project with dependencies that are not supported for the environment of the machine.

This PR changes these notifications to include a global flag:

image