hasAnyConfig
hasAnyConfig(
commandLineConfigOverrides):Promise<boolean>
Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/config/loader.ts:611
CFG-10 — true when ANY usable configuration is present, either a project config file
(json/jsonc/js/mjs) or a standalone global config (~/.gsloth/.gsloth.config.*). When this
returns false the caller should run the first-run dialog instead of erroring.
Reuses CFG-8’s project + global detection so the two paths can never disagree.
Parameters
Section titled “Parameters”commandLineConfigOverrides
Section titled “commandLineConfigOverrides”Returns
Section titled “Returns”Promise<boolean>