can we add that when I run entire --version it's the same as entire version ?
Jump to turn (8)
- 1can we add that when I run entire --version it's the same as entire version ?
- 2❯ go run cmd/entire/main.go version Entire CLI dev (unknown) Go version: go1.26.
- 3[Request interrupted by user for tool use]
- 4or first: can we double check there is no issue with the stop hook setup? comman
- 5[Request interrupted by user]
- 6sorry, wrong window, continue with version
- 7hmm, this is now duplicated code, isn't it?
- 8do we have tests for entire version? if so can we make them test --version (tabl
- User
can we add that when I run
entire --versionit's the same asentire version? Assistant
Let me look at the current setup for the version command and root command.
Assistant
Simple fix — just set the
Versionfield on the root command so Cobra handles--versionautomatically:Assistant
Now
entire --versionwill printentire version <version>via Cobra's built-in version flag. Let me verify it builds and tests pass.