-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
refactor: Prep for actions in derive #3789
Merged
Merged
Commits on Jun 4, 2022
-
Configuration menu - View commit details
-
Copy full SHA for d56d8dd - Browse repository at this point
Copy the full SHA d56d8ddView commit details -
Configuration menu - View commit details
-
Copy full SHA for 52e2874 - Browse repository at this point
Copy the full SHA 52e2874View commit details -
Configuration menu - View commit details
-
Copy full SHA for 11fbe7e - Browse repository at this point
Copy the full SHA 11fbe7eView commit details -
fix(help): Don't report flag defaults
Now that flags can have meaningful defaults and with defaults being implicitly set for certain actions, they appear in help but don't quite make sense.
Configuration menu - View commit details
-
Copy full SHA for a3092ba - Browse repository at this point
Copy the full SHA a3092baView commit details -
Configuration menu - View commit details
-
Copy full SHA for b09def1 - Browse repository at this point
Copy the full SHA b09def1View commit details -
fix(help): Output some bool possible values
Originally I hid all, assuming the flag-only use case but we had to prevent that from showing up anyways. For the takes_value case, we should be showing something since we know what it accepts. I decided to only show the most basic values and hide the rest so as to not overwhelm the user with redundant options and hope the user recognizes they are redundant.
Configuration menu - View commit details
-
Copy full SHA for ccd6663 - Browse repository at this point
Copy the full SHA ccd6663View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5f56e93 - Browse repository at this point
Copy the full SHA 5f56e93View commit details -
test(parser): Verify indices of defaults
I thought I had broken this but it always seemed to have worked this way
Configuration menu - View commit details
-
Copy full SHA for a971346 - Browse repository at this point
Copy the full SHA a971346View commit details -
Configuration menu - View commit details
-
Copy full SHA for f3bc3d5 - Browse repository at this point
Copy the full SHA f3bc3d5View commit details -
fix(parser): Exclusive shouldnt preclude defaults
Unsure why a comment said this doesn't matter. It matters both for counting arguments and for reporting the correct argument is exclusive.
Configuration menu - View commit details
-
Copy full SHA for 9638f33 - Browse repository at this point
Copy the full SHA 9638f33View commit details -
Configuration menu - View commit details
-
Copy full SHA for 002204a - Browse repository at this point
Copy the full SHA 002204aView commit details
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.