feat: Breaking out more dependencies.
This commit is contained in:
13
Sources/CliClient/Constants.swift
Normal file
13
Sources/CliClient/Constants.swift
Normal file
@@ -0,0 +1,13 @@
|
||||
/// 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"
|
||||
}
|
||||
Reference in New Issue
Block a user