module
Obsctl::Config::ConfigPaths
Overview
Resolves user-scoped config and log paths.
Defined in:
obsctl/config/config_paths.crConstant Summary
-
DEFAULT_RELATIVE =
".config/obsctl/config.yml"
Class Method Summary
-
.default_path(env = ENV) : String
Returns
OBSCTL_CONFIGwhen set, otherwise the XDG-style default path. -
.log_path(env = ENV) : String
Returns the default persisted server log path.
Class Method Detail
def self.default_path(env = ENV) : String
#
Returns OBSCTL_CONFIG when set, otherwise the XDG-style default path.