Skip to content

getGlobalGslothConfigWritePath

getGlobalGslothConfigWritePath(filename): string

Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/utils/globalConfigUtils.ts:52

Gets the write path for a global gsloth config file (e.g. .gsloth.config.json) inside the global ~/.gsloth directory, ensuring the directory exists.

Intended for first-run setup flows (CFG-2) that need to persist global settings.

string

The configuration filename (e.g. .gsloth.config.json)

string

The resolved path where the global configuration file should be written