Skip to content

docs: add Long description and example to version command#1350

Open
ogulcanaydogan wants to merge 1 commit into
notaryproject:mainfrom
ogulcanaydogan:docs/version-command-long
Open

docs: add Long description and example to version command#1350
ogulcanaydogan wants to merge 1 commit into
notaryproject:mainfrom
ogulcanaydogan:docs/version-command-long

Conversation

@ogulcanaydogan

Copy link
Copy Markdown
Contributor

The version command had a Short: description but no Long: or example, unlike most other commands. Add a Long: with a usage example to match the pattern used by other notation commands.

Signed-off-by: Ogulcan Aydogan <ogulcanaydogan@hotmail.com>
Copilot AI review requested due to automatic review settings June 11, 2026 08:52

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

This PR enhances the notation version CLI help output by adding a long description with an example invocation, improving discoverability for users.

Changes:

  • Add Long help text for the version command
  • Include an explicit example usage block in the help text

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread cmd/notation/version.go
Comment on lines +28 to +32
Long: `Show the notation version information

Example - Show notation version:
notation version
`,
@codecov

codecov Bot commented Jun 11, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 79.12%. Comparing base (51ff5ec) to head (f2965c0).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1350      +/-   ##
==========================================
+ Coverage   79.09%   79.12%   +0.02%     
==========================================
  Files          68       68              
  Lines        3076     3080       +4     
==========================================
+ Hits         2433     2437       +4     
  Misses        436      436              
  Partials      207      207              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants