Skip to content
This repository has been archived by the owner on Aug 3, 2023. It is now read-only.

Print update message on wrangler usage when new version of wrangler is available. #397

Closed
gabbifish opened this issue Aug 5, 2019 · 1 comment · Fixed by #1190
Closed
Assignees
Labels
feature Feature requests and suggestions
Milestone

Comments

@gabbifish
Copy link
Contributor

gabbifish commented Aug 5, 2019

To encourage wrangler users to use the latest version of the CLI, we should print out a message along the lines of

A new version of wrangler (1.x.0) is available! Make sure to update by following the update instructions: https://github.com/cloudflare/wrangler#updating-wrangler

whenever a new version of wrangler is available. This could be printed out before every wrangler invocation if a user's wrangler version is outdated.

This version information could be pulled from github, crates.io, or npm; figuring out how to manage this without accidentally DOSing one of these endpoints is useful. (I know github rate limits calls to the API used to access repository tags, so we should keep this in mind).

@gabbifish gabbifish added priority - nice to have feature Feature requests and suggestions labels Aug 5, 2019
@EverlastingBugstopper
Copy link
Contributor

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature Feature requests and suggestions
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants