Skip to content
This repository was archived by the owner on Mar 5, 2026. It is now read-only.

Fix asimov snapshot --version#14

Merged
artob merged 1 commit into
masterfrom
samuel/fix-version
Aug 6, 2025
Merged

Fix asimov snapshot --version#14
artob merged 1 commit into
masterfrom
samuel/fix-version

Conversation

@SamuelSarle

Copy link
Copy Markdown
Member

Before:
Screenshot 2025-08-06 at 18 32 43

After:
Screenshot 2025-08-06 at 18 32 58

@race-of-sloths

@race-of-sloths

race-of-sloths commented Aug 6, 2025

Copy link
Copy Markdown

@SamuelSarle Thank you for your contribution! Your pull request is now a part of the Race of Sloths!
King of Sloths shakes your hand! Yellow leader's jersey is yours deservedly!

Shows inviting banner with latest news.

Shows profile picture for the author of the PR

Current status: executed
Reviewer Score
@artob 1

Your contribution is much appreciated with a final score of 1!
You have received 11 (10 base + 10% lifetime bonus) Sloth points for this contribution

@artob received 25 Sloth Points for reviewing and scoring this pull request.

What is the Race of Sloths

Race of Sloths is a friendly competition where you can participate in challenges and compete with other open-source contributors within your normal workflow

For contributors:

  • Tag @race-of-sloths inside your pull requests
  • Wait for the maintainer to review and score your pull request
  • Check out your position in the Leaderboard
  • Keep weekly and monthly streaks to reach higher positions
  • Boast your contributions with a dynamic picture of your Profile

For maintainers:

  • Score pull requests that participate in the Race of Sloths and receive a reward
  • Engage contributors with fair scoring and fast responses so they keep their streaks
  • Promote the Race to the point where the Race starts promoting you
  • Grow the community of your contributors

Feel free to check our website for additional details!

Bot commands
  • For contributors
    • Include a PR: @race-of-sloths include to enter the Race with your PR
  • For maintainers:
    • Invite contributor @race-of-sloths invite to invite the contributor to participate in a race or include it, if it's already a runner.
    • Assign points: @race-of-sloths score [1/2/3/5/8/13] to award points based on your assessment.
    • Reject this PR: @race-of-sloths exclude to send this PR back to the drawing board.
    • Exclude repo: @race-of-sloths pause to stop bot activity in this repo until @race-of-sloths unpause command is called

@artob artob added the enhancement New feature or request label Aug 6, 2025
@artob
artob requested a review from Copilot August 6, 2025 15:37
@artob

artob commented Aug 6, 2025

Copy link
Copy Markdown
Member

@race-of-sloths score 1

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull Request Overview

This PR fixes an issue where calling the --version flag was causing errors by making the command subcommand optional in the CLI argument parser.

  • Made the command field optional in the CLI options struct
  • Added unwrap() when accessing the command to handle the optional case

Comment thread src/main.rs
@artob artob moved this to In review in ASIMOV Platform 25 Aug 6, 2025
@artob
artob merged commit d275cce into master Aug 6, 2025
5 checks passed
@artob
artob deleted the samuel/fix-version branch August 6, 2025 15:42
@github-project-automation github-project-automation Bot moved this from In review to Done in ASIMOV Platform 25 Aug 6, 2025
@artob artob changed the title Fix calling --version Fix asimov snapshot --version Aug 6, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

enhancement New feature or request

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants