This repository was archived by the owner on Nov 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Bump clap to 4.0.x and adjust to best practices #12381
Merged
paritytech-processbot
merged 26 commits into
paritytech:master
from
skunert:skunert/clap-3222
Oct 18, 2022
Merged
Changes from 16 commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
5c05eed
Bump clap to 3.2.22
skunert 722c344
Replace `from_os_str` with `value_parser`
skunert 4c9000a
Replace `from_str` and `try_from_str` with `value_parser`
skunert a2074da
Move possible_values to the new format
skunert 00fd209
Merge branch 'master' into skunert/clap-3222
skunert e688996
Remove unwanted print
skunert f6fa5bc
Add missing match branch
skunert 0cd4921
Update clap to 4.0.9 and make it compile
skunert ba302c4
Replace deprecated `clap` macro with `command` and `value`
skunert 7342dfd
Move remaining `clap` attributes to `arg`
skunert d212391
Remove no-op value_parsers
skunert a1a27d1
Merge branch 'master' into skunert/clap-3222
skunert 1627561
Merge branch 'master' into skunert/clap-3222
skunert a6181b6
Adjust value_parser for state_version
skunert 5c929dd
Remove "deprecated" feature flag and bump to 4.0.11
skunert a91d5aa
Merge branch 'master' into skunert/clap-3222
skunert a84300b
Improve range
skunert cb3fe5d
Apply suggestions
skunert a6491a2
Trigger CI
skunert 35ec929
Fix unused error warning
skunert aa1299f
Merge remote-tracking branch 'origin/master' into skunert/clap-3222
skunert 9381446
Fix doc errors
skunert 2b80749
Fix ArgGroup naming conflict
skunert 6661fa8
Merge branch 'master' into skunert/clap-3222
skunert fed8da7
Change default_value to default_value_t
skunert 4f614e7
Use 1.. instead of 0..
skunert File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.