charmbracelet / freeze

Generate images of code and terminal output 📸
MIT License
3.24k stars 55 forks source link

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

Open AlejandroSuero opened 4 months ago

AlejandroSuero commented 4 months ago

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"

image from `go test -v ./...`

[!NOTE] Image after using freeze --execute "go test -v ./..."

Closes #95.

AlejandroSuero commented 4 months ago

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

ccoVeille commented 4 weeks ago

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

https://github.com/jesseduffield/lazygit/issues/3545