Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultConfigPath ¶
func DefaultConfigPath() string
DefaultConfigPath returns the default config file path Uses os.UserConfigDir() for cross-platform support:
- macOS: ~/Library/Application Support/lifx/config.yaml
- Linux: ~/.config/lifx/config.yaml (or $XDG_CONFIG_HOME/lifx/config.yaml)
- Windows: %AppData%\lifx\config.yaml
func EnsureConfigDir ¶
func EnsureConfigDir() error
EnsureConfigDir creates the config directory if it doesn't exist
Types ¶
Click to show internal directories.
Click to hide internal directories.