Skip to content

Add a --version|-v flag to display the project version #17

@davidbtadokoro

Description

@davidbtadokoro

Description:

Like most CLI apps, add a flag --version|-v to display the project version.

Motivation:

Although not utmost necessary, it is a great "quality of life" feature that doesn't seem complex to implement.

Idea:

Use the CARGO_PKG_VERSION environment variable from cargo. As it is exposed at compile time, it seems that the task is only displaying this value to the user.

Metadata

Metadata

Assignees

No one assigned

    Labels

    new-featureA new functionality requestwaiting-stableWaiting merging into the master branch

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions