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