openfaas/ofc-bootstrap

ofc-bootstrap -version flag does not show any version information

doowb opened this issue · 1 comments

doowb commented

Expected Behaviour

When running ofc-bootstrap -version I expect the version of the cli to be printed and the cli to exit.

Current Behaviour

image

Possible Solution

I'm not familiar enough with Go or this cli to know if the version is available at runtime, but if it is, then it should just be printed.

Steps to Reproduce (for bugs)

  1. Install ofc-bootstrap using the README.md steps
    2.Run ofc-bootstrap -version

Context

I discovered this when @alexellis posted that a new version was available and I wanted to see which version I had since I had just downloaded it a few hours ago. I'm not sure how to see in the repository source which version I have locally so I thought using the cli would be my only option.

Your Environment

  • Operating System and version (e.g. Linux, Windows, MacOS):
    macOS Sierra 10.12.6

Thanks for logging this.