Skip to content

refactor: replace deprecated clap derive attributes with command and arg#3466

Open
yan-ace62 wants to merge 1 commit intoyouki-dev:mainfrom
yan-ace62:main
Open

refactor: replace deprecated clap derive attributes with command and arg#3466
yan-ace62 wants to merge 1 commit intoyouki-dev:mainfrom
yan-ace62:main

Conversation

@yan-ace62
Copy link
Contributor

Updated the CLI definition to use the modern #[command] and #[arg] attributes, as the legacy #[clap] attributes are now deprecated in clap v4.

Description

Type of Change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update
  • Refactoring (no functional changes)
  • Performance improvement
  • Test updates
  • CI/CD related changes
  • Other (please describe):

Testing

  • Added new unit tests
  • Added new integration tests
  • Ran existing test suite
  • Tested manually (please provide steps)

Related Issues

Fixes #

Additional Context

Updated the CLI definition to use the modern #[command] and #[arg] attributes, as the legacy #[clap] attributes are now deprecated in clap v4.

Signed-off-by: Yan Wen <yan_ace62@126.com>
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.

1 participant