forked from clap-rs/clap
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(parser): SetTrue/SetFalse/Count Actions
This is the minimum set of actions for the derive to move off of `parse`. These are inspired by Python's native actions. These new actions have a "unified" behavior with defaults/envs. This mostly means that occurrences aren't tracked. Occurrences were used as a substitute for `ValueSource` or for counting values. Both cases shouldn't be needed anymore but we can re-evaluate this later if needed.
- Loading branch information
Showing
5 changed files
with
211 additions
and
1 deletion.
There are no files selected for viewing
This file contains 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 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 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 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 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