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

Add a command to return the version of the CLI #1677

Closed
cfjedimaster opened this issue Dec 23, 2016 · 13 comments
Closed

Add a command to return the version of the CLI #1677

cfjedimaster opened this issue Dec 23, 2016 · 13 comments

Comments

@cfjedimaster
Copy link
Contributor

There is no available command to wsk that returns the version of the CLI installed.

@rabbah
Copy link
Member

rabbah commented Dec 23, 2016

Try: wsk property get -h

@cfjedimaster
Copy link
Contributor Author

Confirmed this works: wsk property get --cliversion

However, this should be exposed on the top level help screen. It is a pretty common feature (imo) should be made more evident.

@mbehrendt mbehrendt added the cli label Dec 30, 2016
@rabbah
Copy link
Member

rabbah commented Jan 5, 2017

Sure wsk --version makes sense as an alias.

@dubee
Copy link
Member

dubee commented Jan 11, 2017

Looks like there is two different converstations going on here. One about the wsk CLI and the other about wskdeploy.

@rabbah
Copy link
Member

rabbah commented Jan 11, 2017

This issue should address wsk not wsk deploy.

@lzbj
Copy link
Contributor

lzbj commented Jan 16, 2017

@rabbah, is this one we need fix or not?

@rabbah
Copy link
Member

rabbah commented Jan 16, 2017 via email

@markusthoemmes
Copy link
Contributor

We'll need to improve our build processes to not create a new CLI version if no code has changes, as the CLI is currently versioned by date and you don't want to notify users everytime a new OpenWhisk is deployed.

@rabbah
Copy link
Member

rabbah commented Jan 16, 2017

Agree - the date was more intended to show the build date, not the actual version. We could adopt semantic versioning and do it manually to get going.

@lzbj
Copy link
Contributor

lzbj commented Jan 17, 2017

manually you mean we pass in build number as arguments everytime we updated code?

@dubee
Copy link
Member

dubee commented Jan 17, 2017

A new CLI is not created if the code has not been changed as long as there is already a Docker container of the built CLI in the cache.

@lzbj
Copy link
Contributor

lzbj commented Jan 19, 2017

Ok, got it.

@csantanapr
Copy link
Member

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

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

No branches or pull requests

7 participants