Add version command

Motivation

As a Hash Core developer, I need to enable hash core CLI users to check which version of hash core are they running.

Current state

There is no command to print the hash core version

Desired state

We have a command that prints the hash core version and maybe the commit used build it.

Steps

  • Add a new version command which print the version from a variable in hash core package.
  • Add a CLI check to make sure that the version returned by the version command matches the version in setup.py
Assignee Loading
Time tracking Loading