printVersion function
shows the version number in the Terminal.
Implementation
Future<void> printVersion() async {
final current = currentVersion();
if (current == null) {
error('There was an error reading the current version');
} else {
trace(green(current));
}
}