wsk CLI needs a flag to query its version
- 主要言語
- Go
- スター
- 109
- フォーク
- 98
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
@uwefassnacht commented on [Tue Apr 25 2017](https://github.com/apache/incubator-openwhisk/issues/2178)
How do I know which version of the CLI I have installed? And whether it's the latest & greatest one? How do I know when to update (re-install) the CLI?
It would be good to provide a `-v` flag (similar to the cloud foundry CLI) that outputs the version. I realize that `-v`is already taken (verbose option).
At the very least, the CLI "splash screen" (displayed when using `wsk` without any options) should display a version number.
It's also not clear from the CLI repo at https://openwhisk.ng.bluemix.net/cli/go/download what the current version is and whether it's time to update.
---
@sjfink commented on [Tue Apr 25 2017](https://github.com/apache/incubator-openwhisk/issues/2178#issuecomment-297032707)
`wsk property get --cliversion`
probably duplicate of https://github.com/openwhisk/openwhisk/issues/1492
---
@rabbah commented on [Tue Apr 25 2017](https://github.com/apache/incubator-openwhisk/issues/2178#issuecomment-297045811)
@houshengbo @pritidesai as part of making the JSON object available advertising the CLIs versions, it would be nice to address the comment above: the link to a binary should carry version information.
Of course, we don't have a proper version yet or release tag (#1880).
@csantanapr I think we need one epic to track all the related CLI issues for versioning, the download page, etc.
---
@eweiter commented on [Tue Apr 25 2017](https://github.com/apache/incubator-openwhisk/issues/2178#issuecomment-297047369)
It would also be nice if we could try to expose this info through the CLI page on the download button or near it.
---
@dubeejw commented on [Tue Apr 25 2017](https://github.com/apache/incubator-openwhisk/issues/2178#issuecomment-297120898)
@eweiter, @houshengbo, we should be able to expose the CLI version to the UI via the content.json file.
コントリビューションガイド
調査の方向性
まず、既存の `wsk property get --cliversion` の動作と、関連する issue 1492 を確認します。スコープを決める前に、未解決のバージョニングとダウンロードページに関する懸念を確認してください。合意した CLI バージョンの表示と配布情報が定義され、実装されて初めて作業は完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- go
- 領域
- cli
- issue の種類
- 機能追加
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 30/100