Skip to content

Add a version flag like #95

@AlejandroSuero

Description

@AlejandroSuero

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions