14 lines
553 B
Swift
14 lines
553 B
Swift
/// Holds keys associated with environment values.
|
|
public enum EnvironmentKey {
|
|
public static let xdgConfigHomeKey = "XDG_CONFIG_HOME"
|
|
public static let hpaConfigDirKey = "HPA_CONFIG_DIR"
|
|
public static let hpaConfigFileKey = "HPA_CONFIG_FILE"
|
|
}
|
|
|
|
/// Holds keys associated with hpa configuration files.
|
|
public enum HPAKey {
|
|
public static let defaultConfigHome = "~/.config/\(Self.hpaConfigDirectoryName)/\(Self.defaultConfigFileName)"
|
|
public static let defaultConfigFileName = "config.toml"
|
|
public static let hpaConfigDirectoryName = "hpa"
|
|
}
|