getFileConfig static method

File getFileConfig()

Implementation

static File getFileConfig() {
  var scriptFile = Platform.script.toFilePath();
  var path = join(dirname(scriptFile), '.get_cli.yaml');
  var configFile = File(path);
  if (!configFile.existsSync()) {
    configFile.createSync(recursive: true);
  }
  return configFile;
}