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

Add a version flag like #95

Open
AlejandroSuero opened this issue May 16, 2024 · 1 comment · May be fixed by #99
Open

Add a version flag like #95

AlejandroSuero opened this issue May 16, 2024 · 1 comment · May be fixed by #99

Comments

@AlejandroSuero
Copy link
Contributor

Is your feature request related to a problem? Please describe.

I am creating a plugin to use freeze from within Neovim called freeze-code.nvim.

In the plugin, for the :checkhealth command I am tracking the dependencies/shell-commands like:

checkhealth freze-code results

I am also tracking the versions but freeze doesn't have a version/--version flag to show it.

Describe the solution you'd like

To create a version command unlike the one in glow that when installed from go install github.com/charmbracelet/freeze@latest also will show the version instead of built from source.

Describe alternatives you've considered

If it can be a one line command or at least show VERSION v<version-number> like that to retrieve the string easier for the plugin check.

Additional context

  • Glow reference go install github.com/charmbracelet/glow@latest:
glow -v
AlejandroSuero added a commit to AlejandroSuero/freeze that referenced this issue May 16, 2024
AlejandroSuero added a commit to AlejandroSuero/freeze that referenced this issue May 16, 2024
AlejandroSuero added a commit to AlejandroSuero/freeze that referenced this issue May 31, 2024
@AlejandroSuero AlejandroSuero linked a pull request May 31, 2024 that will close this issue
@ccoVeille
Copy link
Contributor

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

jesseduffield/lazygit#3545

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 a pull request may close this issue.

2 participants