Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CanonicalizeKeyPath ¶
CanonicalizeKeyPath maps legacy key segments to canonical config key names.
func LogAndWrapError ¶
LogAndWrapError logs an error through zerolog and then wraps it for return. This ensures errors go through zerolog's logging infrastructure, preventing terminal state corruption.
func ResolveReadConfigPath ¶
func ResolveReadConfigPath() string
ResolveReadConfigPath returns the loaded config path and logs a warning if none is loaded.
func ResolveWriteConfigPath ¶
func ResolveWriteConfigPath() string
ResolveWriteConfigPath returns a writable config path and logs user-facing context.
func ValidateKeyPath ¶
ValidateKeyPath validates dotted config keys such as gitlab.token.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.