This repository has been archived by the owner on Jul 22, 2024. It is now read-only.
chore(deps): update module github.com/urfave/cli to v2 - autoclosed #84
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.
This PR contains the following updates:
v1.22.5
->v2.3.0
Release Notes
urfave/cli
v2.3.0
Compare Source
These release notes were written for the git hash
09ac54c
.Fixed
App.ErrWriter
not being initialized inApp.Setup()
in #1100 via @Nokel81Destination
field in theStringSliceFlag
in #1121 via @sgoroshkoStringSlice
values would be mutated in #1170 via @tych0Changed
Added
Value
withTimeStamp
flag in #1160 via @vschettinoMapInputSource
type in #1194 via @igorriusApp.Reader
that defaults toos.Stdin
via #1191 via @stellirinv2.2.0
Compare Source
These release notes were written for the git hash
d648edd
Fixed
Changed
Added
v2.1.1
Compare Source
Fixed a
Context
regression introduced inv2.1.0
in https://github.com/urfave/cli/pull/1014 via @lynncyrinv2.1.0
Compare Source
These release notes were written for the git hash ae84df4cef4a2a6f1a0cb1d41ea0f3af8755e5a8
Fixed
Changed
App.Run
to use an optional context for timeouts and cancellation in https://github.com/urfave/cli/pull/975 via @marwan-at-workValue
accessor in https://github.com/urfave/cli/pull/741 via @corruptmemoryAdded
v2.0.0
Compare Source
V2 was merged in https://github.com/urfave/cli/pull/892, which included the work of all of these contributors: @asahasrabuddhe, @meatballhat, @jszwedko, @lynncyrin, @AudriusButkevicius, @saschagrunert, @rliebz, @johnweldon, @nlewo, @grubernaut, @OneOfOne, @VMitov, @cbranch, @marwan-at-work, @uudashr, @bfreis
Discuss the state of V2 here => https://github.com/urfave/cli/issues/826
Added
NewStringSlice
andNewIntSlice
for creating their related typesFloat64SliceFlag
for unmarshaling a list of floats from the userContext.Lineage
to get all contexts from current up to globalContext.LocalFlagNames
to get the flag names from only the current contextBoolFlag.Value
to handle both default-false and default-trueIsSet
method to theFlag
interface which allows us to detect whether or not a flag has been setChanged
[]Command
have been changed to[]*Command
[]cli.Flag
have been changed to[]*cli.Flag
Context.FlagNames
now returns all flags in the context lineageContext.IsSet
now considers the full context lineageRemoved
Global*
flags since all flags are now globalGlobalBool
withBool
GlobalInt
withInt
GlobalString
withString
Context.Parent
method, as this is now available viaContext.Lineage
Context.Parent()
withContext.Lineage()[1]
App.Author
andApp.Email
Authors []*Author
fieldCommand.Name
fieldName: "a, b, c"
withName: "a", Aliases: []string{"b", "c"}
Command.ShortName
fieldShortName: "i"
withAliases: []string{"i"}
Context.Global*
methods, as the non-global versions now traverse upthe context lineage automatically.
&StringSlice{...string}
or&IntSlice{...int}
.Action
func signatureBoolTFlag
and related code, as this is now available viaBoolFlag.Value
Configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.