showVersion static method

dynamic showVersion()

Implementation

static showVersion() {
  String filePath = Platform.script.path;
  filePath = filePath.replaceAll('bin/templify.dart', 'pubspec.yaml');
  final fileString = File(filePath).readAsStringSync();
  var doc = loadYaml(fileString);
  ColoredLog.yellow(doc['version'], name: 'Version');
}