Skip to content

Refactor: Clap attribute macros from #[clap(...)] to #[arg(...)] and #[command(...)] in v4.x #1809

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 5 commits into
base: testnet
Choose a base branch
from

Conversation

Himess
Copy link

@Himess Himess commented Mar 11, 2025

Description

This PR updates deprecated #[clap(...)] attributes to their modern equivalents in clap 4.x.
The current codebase still uses outdated syntax that has been deprecated since version 4.0.
By making this update, we ensure compatibility with future versions and maintain code quality.

Fixes #1808

Type of change

Please delete options that are not relevant.

  • Optimization
  • Refactor

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.

Migrate #[clap(...)] to #[arg(...)] / #[command(...)] in clap 4.x
2 participants