Share version function between all commands. Fix #76