resolveConfigPath function

String resolveConfigPath(
  1. String? override
)

Resolves the path to the unified user config file.

Implementation

String resolveConfigPath(String? override) {
  if (override != null) return override;
  final home = Platform.environment['HOME'] ?? '.';
  return '$home/.simutil/settings.yaml';
}