existConfig static method
Implementation
static bool existConfig(String? dir) {
var cfgPath = CliHelper.configPath(dir);
if (cfgPath != null) {
var file = File(cfgPath);
if (file.existsSync()) {
return true;
} else {
return false;
}
} else {
return false;
}
}