-
Notifications
You must be signed in to change notification settings - Fork 94
Add version command for notation CLI #345
Copy link
Copy link
Labels
cliIssue or PR released to Notation CLIIssue or PR released to Notation CLIenhancementNew feature or requestNew feature or request
Milestone
Description
Currently notation version doesn't work, user has to use --version to print out the version info, which is limited and generated by CLI framework.
$ notation version
Error: unknown command "version" for "notation"
Run 'notation --help' for usage.
2022/09/21 21:21:41 unknown command "version" for "notation"
$ notation --version
notation version v0.10.0-alpha.3+unreleased
version command is widely used by many command tools, notation CLI should support version command for a stable release. Here is a request to add notation version command, and the following printout is a suggestion for a minimal information to be printed out:
Version:
Go version:
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
cliIssue or PR released to Notation CLIIssue or PR released to Notation CLIenhancementNew feature or requestNew feature or request
Type
Projects
Status
Done