Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(#95): added freeze version flag #99

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

AlejandroSuero
Copy link
Contributor

Using freeze --version or freeze -v shows the current version, latest (built from source) if go install github.com/charmbracelet/freeze@latest.

image from freeze -v

Note

Image after using freeze --execute "./freeze -v"

  • Test passed with make test and go test -v ./... on MacOS 14.5 (23F79)

image from go test -v ./...

Note

Image after using freeze --execute "go test -v ./..."

Closes #95.

@AlejandroSuero
Copy link
Contributor Author

@maaslalani the PR #96 got close automatically after reverting the changes.

main.go Outdated Show resolved Hide resolved
help.go Outdated Show resolved Hide resolved
main.go Outdated Show resolved Hide resolved
main.go Show resolved Hide resolved
main.go Outdated Show resolved Hide resolved
@ccoVeille
Copy link
Contributor

FYI there is discussion about the exact sane feature in the lazygit tool also in Go

jesseduffield/lazygit#3545

Copy link
Contributor

@ccoVeille ccoVeille left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@bashbunni
Copy link
Member

Hey, this looks great. Thanks for your work on this! I just updated the messaging to match Gum for consistency, but otherwise tested the changes and they look good

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add a version flag like
3 participants