Skip to content
New issue

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

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

Already on GitHub? # to your account

Add version flag #298

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

thampton
Copy link

@thampton thampton commented Nov 29, 2023

Make the following return the version.

  ./octopus --version

Fixes #269

```
  ./octopus --version
```

Fixes OctopusDeploy#269
@CLAassistant
Copy link

CLAassistant commented Nov 29, 2023

CLA assistant check
All committers have signed the CLA.

@OzoneNZ
Copy link

OzoneNZ commented Feb 13, 2024

@benPearce1 any chance of getting this reviewed and merged? We pack the octopus CLI into our custom worker-tools container image, and as part of that build process we really want to emit version info which we were able to do with the legacy CLI

@benPearce1
Copy link
Contributor

@OzoneNZ there is already a version command available, just in a slightly different format

❯ octopus version
2.1.0

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

Successfully merging this pull request may close these issues.

missing {-v|--version} flag
4 participants