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
Porting changes from main
to v3-dev-main
(circa 2022-10-09)
#1525
Merged
Commits on Oct 9, 2022
-
Configuration menu - View commit details
-
Copy full SHA for a6f5ca6 - Browse repository at this point
Copy the full SHA a6f5ca6View commit details -
Configuration menu - View commit details
-
Copy full SHA for d3bb381 - Browse repository at this point
Copy the full SHA d3bb381View commit details -
Suggested by @julian7
Configuration menu - View commit details
-
Copy full SHA for 05fb755 - Browse repository at this point
Copy the full SHA 05fb755View commit details -
Configuration menu - View commit details
-
Copy full SHA for e14dca7 - Browse repository at this point
Copy the full SHA e14dca7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4959a9f - Browse repository at this point
Copy the full SHA 4959a9fView commit details -
Call FlagStringer in String() method of slice flags
The default help template relies on the String() method of Flag to render the flag. For most flag types, String() indirects through FlagStringer, so that is the best place to customize flag rendering. FlagStringer was not called for slice flags because their help output differs from other flags in two ways: there can be multiple default values, and the flag name is shown two times to indicate that the flag can be specified multiple times. To make multiple values work in the FlagStringer, I simply changed GetValue() to return all values. Showing the flag more than once is achieved through a new interface, DocGenerationSliceFlag, which the FlagStringer uses to decide whether the flag is a slice flag type.
Configuration menu - View commit details
-
Copy full SHA for 82ea9f7 - Browse repository at this point
Copy the full SHA 82ea9f7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 65c98c8 - Browse repository at this point
Copy the full SHA 65c98c8View commit details -
Configuration menu - View commit details
-
Copy full SHA for c5057d1 - Browse repository at this point
Copy the full SHA c5057d1View commit details -
Set destination in GenericFlag apply function
The function was missing destination configuration.
Configuration menu - View commit details
-
Copy full SHA for 01bdec7 - Browse repository at this point
Copy the full SHA 01bdec7View commit details -
Add unit test for GenericFlag Destination parsing
The test checks if Destination provided in GenericFlag is being set as expected.
Configuration menu - View commit details
-
Copy full SHA for b82e628 - Browse repository at this point
Copy the full SHA b82e628View commit details -
Configuration menu - View commit details
-
Copy full SHA for 13860a7 - Browse repository at this point
Copy the full SHA 13860a7View commit details -
Configuration menu - View commit details
-
Copy full SHA for ae8c511 - Browse repository at this point
Copy the full SHA ae8c511View commit details -
Configuration menu - View commit details
-
Copy full SHA for c86805d - Browse repository at this point
Copy the full SHA c86805dView commit details -
Configuration menu - View commit details
-
Copy full SHA for dccd762 - Browse repository at this point
Copy the full SHA dccd762View commit details -
Co-authored-by: Anatoli Babenia <anatoli@rainforce.org>
Configuration menu - View commit details
-
Copy full SHA for a4b7759 - Browse repository at this point
Copy the full SHA a4b7759View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9a94619 - Browse repository at this point
Copy the full SHA 9a94619View commit details -
Configuration menu - View commit details
-
Copy full SHA for ea28930 - Browse repository at this point
Copy the full SHA ea28930View commit details -
Configuration menu - View commit details
-
Copy full SHA for 924ebda - Browse repository at this point
Copy the full SHA 924ebdaView commit details -
Configuration menu - View commit details
-
Copy full SHA for fcb0bce - Browse repository at this point
Copy the full SHA fcb0bceView commit details -
Configuration menu - View commit details
-
Copy full SHA for 64facdb - Browse repository at this point
Copy the full SHA 64facdbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9621675 - Browse repository at this point
Copy the full SHA 9621675View commit details
Commits on Oct 10, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 6404f1d - Browse repository at this point
Copy the full SHA 6404f1dView commit details
Commits on Oct 13, 2022
-
Build and run
urfave-cli-genflags
via itsMakefile
so that `go.mod` files don't get all confused
Configuration menu - View commit details
-
Copy full SHA for b458207 - Browse repository at this point
Copy the full SHA b458207View commit details -
Configuration menu - View commit details
-
Copy full SHA for 75aabac - Browse repository at this point
Copy the full SHA 75aabacView commit details -
Configuration menu - View commit details
-
Copy full SHA for 85ff0c5 - Browse repository at this point
Copy the full SHA 85ff0c5View 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.