Skip to content

Add a -V/--version flag to CLI tools #1802

@tgross35

Description

@tgross35

Since a lot of us are using installs from git, it's currently tricky to figure out which version we are actually running. Would it be possible to put this information in the CLI?

This can just be done with vergen-git2 / vergen-gix / vergen-gitcl (depending on what is already in-tree) and having a CLI flag that outputs some combination of CARGO_PKG_VERSION, VERGEN_BUILD_DATE, VERGEN_GIT_DESCRIBE, and VERGEN_GIT_SHA.

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