chore(deps): update module github.com/urfave/cli to v2 (main) #147
Reference in New Issue
Block a user
No description provided.
Delete Branch "renovate/main-github.com-urfave-cli-2.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
v1.22.5->v2.3.0Release Notes
urfave/cli
v2.3.0Compare Source
These release notes were written for the git hash
09ac54c.Fixed
App.ErrWriternot being initialized inApp.Setup()in #1100 via @Nokel81Destinationfield in theStringSliceFlagin #1121 via @sgoroshkoStringSlicevalues would be mutated in #1170 via @tych0Changed
Added
ValuewithTimeStampflag in #1160 via @vschettinoMapInputSourcetype in #1194 via @igorriusApp.Readerthat defaults toos.Stdinvia #1191 via @stellirinv2.2.0Compare Source
These release notes were written for the git hash
d648eddFixed
Changed
Added
v2.1.1Compare Source
Fixed a
Contextregression introduced inv2.1.0in https://github.com/urfave/cli/pull/1014 via @lynncyrinv2.1.0Compare Source
These release notes were written for the git hash ae84df4cef4a2a6f1a0cb1d41ea0f3af8755e5a8
Fixed
Changed
App.Runto use an optional context for timeouts and cancellation in https://github.com/urfave/cli/pull/975 via @marwan-at-workValueaccessor in https://github.com/urfave/cli/pull/741 via @corruptmemoryAdded
v2.0.0Compare 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
NewStringSliceandNewIntSlicefor creating their related typesFloat64SliceFlagfor unmarshaling a list of floats from the userContext.Lineageto get all contexts from current up to globalContext.LocalFlagNamesto get the flag names from only the current contextBoolFlag.Valueto handle both default-false and default-trueIsSetmethod to theFlaginterface which allows us to detect whether or not a flag has been setChanged
[]Commandhave been changed to[]*Command[]cli.Flaghave been changed to[]*cli.FlagContext.FlagNamesnow returns all flags in the context lineageContext.IsSetnow considers the full context lineageRemoved
Global*flags since all flags are now globalGlobalBoolwithBoolGlobalIntwithIntGlobalStringwithStringContext.Parentmethod, as this is now available viaContext.LineageContext.Parent()withContext.Lineage()[1]App.AuthorandApp.EmailAuthors []*AuthorfieldCommand.NamefieldName: "a, b, c"withName: "a", Aliases: []string{"b", "c"}Command.ShortNamefieldShortName: "i"withAliases: []string{"i"}Context.Global*methods, as the non-global versions now traverse upthe context lineage automatically.
&StringSlice{...string}or&IntSlice{...int}.Actionfunc signatureBoolTFlagand related code, as this is now available viaBoolFlag.ValueConfiguration
📅 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 Renovate Bot.
We reverted to v1 for better arg handling. Closing.
Renovate Ignore Notification
As this PR has been closed unmerged, Renovate will ignore this upgrade and you will not receive PRs for any future 2.x releases. However, if you upgrade to 2.x manually then Renovate will then reenable updates for minor and patch updates automatically.
If this PR was closed by mistake or you changed your mind, you can simply rename this PR and you will soon get a fresh replacement PR opened.
Pull request closed