Update module go.followtheprocess.codes/cli to v0.17.0#50
Merged
FollowTheProcess merged 2 commits intomainfrom Nov 10, 2025
Merged
Update module go.followtheprocess.codes/cli to v0.17.0#50FollowTheProcess merged 2 commits intomainfrom
FollowTheProcess merged 2 commits intomainfrom
Conversation
Contributor
Author
ℹ Artifact update noticeFile name: go.modIn order to perform the update(s) described in the table above, Renovate ran the
Details:
|
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #50 +/- ##
=======================================
Coverage 53.43% 53.43%
=======================================
Files 4 4
Lines 204 204
=======================================
Hits 109 109
Misses 82 82
Partials 13 13 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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:
v0.16.0->v0.17.0Release Notes
FollowTheProcess/cli (go.followtheprocess.codes/cli)
v0.17.0Compare Source
Changes
This release breaks quite a bit of stuff, but for a good cause!
Goodbye
[]stringand hello to type safe structs!I've completed re-worked how positional arguments work, instead of getting the raw
[]stringpassed to theRunmethod, I've introduced a mechanism for declaring type-safe structs describing the positional arguments, which are then inferred using generics and parsed similar to how flags already worked.As a result of this:
cli.Allowoption and all the argument validators as this new mechanism is much better and allows you to define exactly whatarguments you want and what types they are
cli.Runhas changed fromfunc(cmd *cli.Command, args []string) errortofunc(cmd *cli.Command) errorcmd.Args()cli.NoShortHandis nowflag.NoShortHandcli.FlagCountis nowflag.CountSee the updated
READMEand the updated examples for how to change your code to match the new behaviour.I've updated my projects that use this and the changes honestly aren't so bad
💥 Breaking Changes
🚀 Features
🚨 Testing
🔨 Refactoring
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.