[Feature Request] Check and inform user when newer version is available

オープン
#235 コメント 1 件 リアクション 2 件 担当者 1 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@feedmeapples がすでに取り組んでいます。

2023年5月10日 から。

  • #1122 @chaptersix による — マージされずにクローズ

評価

この issue はまだ評価されていません。

説明

enhancement
Is your feature request related to a problem? Please describe.

I don't always remember to check this repo to see if a newer version is available, and so just recently spent a bunch of time investigating an issue that turns out to have been solved since I last upgraded. In retrospect, "check before you test" may be somewhat reasonable while this project is <1.0, but as the time between versions inevitably increases, users will more frequently end up in the same "oh shoot, I should have checked for upgrades first" camp as I did.

Describe the solution you'd like

A message or similar output on start or on --version that informs of new releases of the CLI. Added bonus: a built-in self-upgrade command. Alternate: like the pip example below, include the command to upgrade in the output for easy copy-pasta.

Additional context

The message I'm envisioning is similar to what pip gives:

[notice] A new release of pip is available: 23.0.1 -> 23.1.2
[notice] To update, run: pip install --upgrade pip
主要言語
Go
スター
390
フォーク
123
平均マージ
2日 9時間
マージ済み PR(30日)
13

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

temporalio/cli のほかの issue

temporalio/cli の issue をすべて見る

似ている issue

Go の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。