readPubSpec function
void
readPubSpec()
Reads the pubspec.yaml file and stores it in pubSpecStr and pubSpecMap
Implementation
void readPubSpec() {
final file = File('pubspec.yaml');
if (!file.existsSync()) {
error("Can't locate pubspec.yaml, run fts from your project root.");
exit(3);
}
pubSpecStr = openString(file.path);
pubSpecMap = loadYaml(pubSpecStr) as Map;
}