Skip to content

Update module go.followtheprocess.codes/cli to v0.17.0#50

Merged
FollowTheProcess merged 2 commits intomainfrom
renovate/go.followtheprocess.codes-cli-0.x
Nov 10, 2025
Merged

Update module go.followtheprocess.codes/cli to v0.17.0#50
FollowTheProcess merged 2 commits intomainfrom
renovate/go.followtheprocess.codes-cli-0.x

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Nov 9, 2025

This PR contains the following updates:

Package Change Age Confidence
go.followtheprocess.codes/cli v0.16.0 -> v0.17.0 age confidence

Release Notes

FollowTheProcess/cli (go.followtheprocess.codes/cli)

v0.17.0

Compare Source

Changes

This release breaks quite a bit of stuff, but for a good cause!

Goodbye []string and hello to type safe structs!

I've completed re-worked how positional arguments work, instead of getting the raw []string passed to the Run method, 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:

  • I've dropped the cli.Allow option and all the argument validators as this new mechanism is much better and allows you to define exactly what
    arguments you want and what types they are
  • The signature of the function provided to cli.Run has changed from func(cmd *cli.Command, args []string) error to func(cmd *cli.Command) error
  • Raw positional arguments can still be obtained using cmd.Args()
  • cli.NoShortHand is now flag.NoShortHand
  • cli.FlagCount is now flag.Count

See the updated README and 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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Nov 9, 2025
@renovate
Copy link
Contributor Author

renovate bot commented Nov 9, 2025

ℹ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 1 additional dependency was updated

Details:

Package Change
golang.org/x/sys v0.37.0 -> v0.38.0

@FollowTheProcess FollowTheProcess enabled auto-merge (squash) November 10, 2025 06:45
@codecov
Copy link

codecov bot commented Nov 10, 2025

Codecov Report

❌ Patch coverage is 45.45455% with 6 lines in your changes missing coverage. Please review.
✅ Project coverage is 53.43%. Comparing base (4eb4557) to head (10c7068).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
internal/cmd/cmd.go 0.00% 4 Missing ⚠️
internal/dead/dead.go 71.42% 2 Missing ⚠️
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.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@FollowTheProcess FollowTheProcess merged commit 3abae0b into main Nov 10, 2025
11 of 12 checks passed
@FollowTheProcess FollowTheProcess deleted the renovate/go.followtheprocess.codes-cli-0.x branch November 10, 2025 06:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant