Skip to content

feat: add --version flag#58

Merged
KaykCaputo merged 1 commit into
KaykCaputo:masterfrom
waldo121:feature/cli-version-flag
Apr 29, 2026
Merged

feat: add --version flag#58
KaykCaputo merged 1 commit into
KaykCaputo:masterfrom
waldo121:feature/cli-version-flag

Conversation

@waldo121
Copy link
Copy Markdown
Contributor

@waldo121 waldo121 commented Apr 29, 2026

Summary

Adds a cli --version flag

Related Issue

Closes #39

Type of Change

  • Bug fix
  • New feature
  • Refactor
  • Documentation update
  • CLI behavior change

What Changed

List the key changes in a few bullets.

  • Adds a cli --version flag
  • Adds a unit test for that change
  • Adds an entry in the cli reference documentation

Validation

  • Run the new test that i have added in test_cli.py
  • Rebuild and view the documentation

Checklist

  • The code follows style conventions.
  • I added unit tests for the new functionality.
  • CI (GitHub Actions) is green.
  • I updated documentation/README when needed.

Before/After Output (if applicable)

Include relevant CLI output snippets when behavior or formatting changed.

Before

oracletrace --version
usage: oracletrace [-h] [--json JSON] [--compare COMPARE] [--csv CSV] [--ignore REGEX [REGEX ...]] [--top NUMBER] [--fail-on-regression] [--threshold THRESHOLD] [--only-regressions]
                   target
oracletrace: error: the following arguments are required: target

After

oracletrace --version
oracletrace 2.0.1

@waldo121 waldo121 force-pushed the feature/cli-version-flag branch 3 times, most recently from 891b53b to 4f91263 Compare April 29, 2026 13:54
@waldo121 waldo121 force-pushed the feature/cli-version-flag branch from 4f91263 to a0beb6a Compare April 29, 2026 13:59
@waldo121 waldo121 marked this pull request as ready for review April 29, 2026 14:01
Copy link
Copy Markdown
Owner

@KaykCaputo KaykCaputo left a comment

Choose a reason for hiding this comment

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

Very nice, simple and concise, I will proceed with the merge.

@KaykCaputo KaykCaputo merged commit 4af8f46 into KaykCaputo:master Apr 29, 2026
5 checks passed
@waldo121 waldo121 deleted the feature/cli-version-flag branch April 29, 2026 15:14
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.

[Feature]: Add --version flag to CLI

2 participants