configDir property

String get configDir

Get the configuration directory path

Implementation

String get configDir {
  final home = Platform.environment['HOME'] ?? Platform.environment['USERPROFILE'];
  if (home == null) {
    throw Exception('Could not determine home directory');
  }
  return p.join(home, '.claudio');
}