rickub/clipublic Fork
⑂ f66c7ab
Commits
⬇ Clone ▾
git clone https://git.rickub.com/rickub/cli.git
git clone ssh://git@rickub.com/rickub/cli.git

Host key fingerprint (ed25519): SHA256:iycHnxEyq0Q7uyVpB7JlznP0G7JrTPXLYRcAU5CSLhc — verify it before your first connect.

Download ZIP

chore: go mod tidy — the new test helper imports pflag directlyUnverified

cmd/repo_test.go's execute() clears the Changed bit on every flag in the command
tree (a stale one would make `edit` send a field nobody passed), and the visitor
signature names *pflag.Flag. pflag was already in the graph as cobra's own flag
package; it is now a direct requirement, which is what security.yml's module
integrity step checks for.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KPPhRdTiUiiSvLjthotkT1
Olivier Girardot committed 2026-09-08T00:31:53+02:00 Browse files
f66c7ab parent: 0e5a942
modified go.mod +2 -4
@@ -6,10 +6,8 @@ toolchain go1.26.8
66
77 require (
88 github.com/spf13/cobra v1.10.2
9+ github.com/spf13/pflag v1.0.9
910 gopkg.in/yaml.v3 v3.0.1
1011 )
1112
12-require (
13- github.com/inconshreveable/mousetrap v1.1.0 // indirect
14- github.com/spf13/pflag v1.0.9 // indirect
15-)
13+require github.com/inconshreveable/mousetrap v1.1.0 // indirect
@@ -6,10 +6,8 @@ toolchain go1.26.8
6 6
7 require (7 require (
8 github.com/spf13/cobra v1.10.28 github.com/spf13/cobra v1.10.2
9+ github.com/spf13/pflag v1.0.9
9 gopkg.in/yaml.v3 v3.0.110 gopkg.in/yaml.v3 v3.0.1
10 )11 )
11 12
12-require (13+require github.com/inconshreveable/mousetrap v1.1.0 // indirect
13- github.com/inconshreveable/mousetrap v1.1.0 // indirect
14- github.com/spf13/pflag v1.0.9 // indirect
15-)