module Obsctl::Config::ConfigPaths

Overview

Resolves user-scoped config and log paths.

Defined in:

obsctl/config/config_paths.cr

Constant Summary

DEFAULT_RELATIVE = ".config/obsctl/config.yml"

Class Method Summary

Class Method Detail

def self.default_path(env = ENV) : String #

Returns OBSCTL_CONFIG when set, otherwise the XDG-style default path.


[View source]
def self.log_path(env = ENV) : String #

Returns the default persisted server log path.


[View source]