Skip to content

Update packages #52

New issue

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

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

Already on GitHub? Sign in to your account

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

Update packages #52

wants to merge 1 commit into from

Conversation

oleander
Copy link
Owner

Close #48

@oleander oleander requested a review from Copilot May 27, 2025 21:23
Copy link

@Copilot Copilot AI left a comment

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 updates the project’s argument parsing framework by replacing structopt with clap, aligning the code with the latest package recommendations.

  • Replaces all structopt usages with clap's Parser and Subcommand macros
  • Updates command-line attribute syntax in both src/main.rs and src/hook.rs
  • Adjusts Cargo.toml to remove structopt and add clap as a dependency

Reviewed Changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.

File Description
src/main.rs Replaced structopt with clap for CLI parsing
src/hook.rs Updated CLI attributes from structopt to clap
Cargo.toml Removed structopt dependency, added clap dependency

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.

Outdated packages
1 participant