-
Notifications
You must be signed in to change notification settings - Fork 205
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
Upgrade to Clap 4 #725
Comments
確認しましたが、testが通らない状況になっているので1.7.1での作成は難しいと判断してv2.0に変えました |
hitenkoku
added a commit
that referenced
this issue
Nov 19, 2022
hitenkoku
added a commit
that referenced
this issue
Nov 19, 2022
Merged
hitenkoku
added a commit
that referenced
this issue
Nov 23, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
先日Clap 4.xがリリースされて、見た目が良くなっているのと、これから4.xが主に維持されるので、アップデートしたいです。
Migrating
Steps:
-h
and--help
output at a minimum (recommendation: trycmd for snapshot testing)arg.action(ArgAction::...)
on each argument (StoreValue
for options andIncOccurrences
for flags)cargo check --features clap/deprecated
and resolve all deprecation warningsdefault-features = false
, runcargo add clap -F help,usage,error-context
cargo add clap -F wrap_help
unless you want to hard code line wraps詳細: https://github.com/clap-rs/clap/blob/master/CHANGELOG.md
The text was updated successfully, but these errors were encountered: