Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wsk CLI needs a flag to query its version #2178

Closed
uwefassnacht opened this issue Apr 25, 2017 · 5 comments
Closed

wsk CLI needs a flag to query its version #2178

uwefassnacht opened this issue Apr 25, 2017 · 5 comments
Labels

Comments

@uwefassnacht
Copy link

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 -vis 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
Copy link
Contributor

sjfink commented Apr 25, 2017

wsk property get --cliversion

probably duplicate of #1492

@rabbah
Copy link
Member

rabbah commented Apr 25, 2017

@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.

@rabbah rabbah added the cli label Apr 25, 2017
@eweiter
Copy link
Contributor

eweiter commented Apr 25, 2017

It would also be nice if we could try to expose this info through the CLI page on the download button or near it.

@dubee
Copy link
Member

dubee commented Apr 25, 2017

@eweiter, @houshengbo, we should be able to expose the CLI version to the UI via the content.json file.

@csantanapr
Copy link
Member

Issue moved to apache/incubator-openwhisk-cli #136 via ZenHub

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants