Simple, intuitive CLI framework for Go pkg.go.dev/go.followtheprocess.codes/cli
go cli
0

Configure Feed

Select the types of activity you want to include in your feed.

Update release-drafter/release-drafter action to v7 (#196)

* Update release-drafter/release-drafter action to v7

* Fix lint

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Tom Fleet <me@followtheprocess.codes>

authored by

renovate[bot]
renovate[bot]
Tom Fleet
and committed by
GitHub
(Mar 14, 2026, 11:27 AM UTC) b23095c8 9e91a977

+14 -21
+3
.golangci.yml
··· 170 170 171 171 - name: var-naming 172 172 disabled: true 173 + 174 + - name: package-naming 175 + disabled: true
+3 -3
go.mod
··· 1 1 module go.followtheprocess.codes/cli 2 2 3 - go 1.25 3 + go 1.26 4 4 5 5 ignore ( 6 6 ./docs ··· 15 15 16 16 require ( 17 17 go.yaml.in/yaml/v4 v4.0.0-rc.3 // indirect 18 - golang.org/x/sys v0.39.0 // indirect 19 - golang.org/x/term v0.38.0 // indirect 18 + golang.org/x/sys v0.42.0 // indirect 19 + golang.org/x/term v0.41.0 // indirect 20 20 )
+4 -4
go.sum
··· 6 6 go.followtheprocess.codes/test v1.1.0/go.mod h1:BHZi5SZahJw01xcuc7EgrlyzX7zJLXAWy11rOR9geVw= 7 7 go.yaml.in/yaml/v4 v4.0.0-rc.3 h1:3h1fjsh1CTAPjW7q/EMe+C8shx5d8ctzZTrLcs/j8Go= 8 8 go.yaml.in/yaml/v4 v4.0.0-rc.3/go.mod h1:aZqd9kCMsGL7AuUv/m/PvWLdg5sjJsZ4oHDEnfPPfY0= 9 - golang.org/x/sys v0.39.0 h1:CvCKL8MeisomCi6qNZ+wbb0DN9E5AATixKsvNtMoMFk= 10 - golang.org/x/sys v0.39.0/go.mod h1:OgkHotnGiDImocRcuBABYBEXf8A9a87e/uXjp9XT3ks= 11 - golang.org/x/term v0.38.0 h1:PQ5pkm/rLO6HnxFR7N2lJHOZX6Kez5Y1gDSJla6jo7Q= 12 - golang.org/x/term v0.38.0/go.mod h1:bSEAKrOT1W+VSu9TSCMtoGEOUcKxOKgl3LE5QEF/xVg= 9 + golang.org/x/sys v0.42.0 h1:omrd2nAlyT5ESRdCLYdm3+fMfNFE/+Rf4bDIQImRJeo= 10 + golang.org/x/sys v0.42.0/go.mod h1:4GL1E5IUh+htKOUEOaiffhrAeqysfVGipDYzABqnCmw= 11 + golang.org/x/term v0.41.0 h1:QCgPso/Q3RTJx2Th4bDLqML4W6iJiaXFq2/ftQF13YU= 12 + golang.org/x/term v0.41.0/go.mod h1:3pfBgksrReYfZ5lvYM0kSO0LIkAl4Yl2bXOkKP7Ec2A= 13 13 golang.org/x/tools v0.39.0 h1:ik4ho21kwuQln40uelmciQPp9SipgNDdrafrYA4TmQQ= 14 14 golang.org/x/tools v0.39.0/go.mod h1:JnefbkDPyD8UU2kI5fuf8ZX4/yUeh9W877ZeBONxUqQ=
+1 -1
.github/workflows/release.yml
··· 31 31 echo "version=$VERSION" >> $GITHUB_OUTPUT 32 32 33 33 - name: Publish Draft Release 34 - uses: release-drafter/release-drafter@v6 34 + uses: release-drafter/release-drafter@v7 35 35 with: 36 36 version: ${{ steps.version.outputs.version }} 37 37 publish: true
+1 -6
.github/workflows/release_drafter.yml
··· 4 4 push: 5 5 branches: 6 6 - main 7 - pull_request: 8 - types: 9 - - opened 10 - - reopened 11 - - synchronize 12 7 13 8 permissions: {} 14 9 ··· 22 17 23 18 steps: 24 19 - name: Run Release Drafter 25 - uses: release-drafter/release-drafter@v6 20 + uses: release-drafter/release-drafter@v7 26 21 env: 27 22 GITHUB_TOKEN: ${{ github.token }}
+2 -7
internal/arg/arg_test.go
··· 526 526 } 527 527 528 528 func TestDefaults(t *testing.T) { 529 - str, err := arg.New(new(string), "str", "A string", arg.Config[string]{DefaultValue: pointer("hello")}) 529 + str, err := arg.New(new(string), "str", "A string", arg.Config[string]{DefaultValue: new("hello")}) 530 530 test.Ok(t, err) 531 531 532 - intArg, err := arg.New(new(int), "int", "A string", arg.Config[int]{DefaultValue: pointer(27)}) 532 + intArg, err := arg.New(new(int), "int", "A string", arg.Config[int]{DefaultValue: new(27)}) 533 533 test.Ok(t, err) 534 534 535 535 test.Equal(t, str.Default(), "hello") 536 536 test.Equal(t, intArg.Default(), "27") 537 - } 538 - 539 - // pointer creates a new variable of the given value and returns its pointer. 540 - func pointer[T any](value T) *T { 541 - return &value 542 537 }