mcpwn API
    Preparing search index...

    Function resolveConfigPath

    • Resolve which config file to use given the CLI's --config / --no-auto-config decision. Returns the path + whether it was auto-discovered (for the notice), or undefined when no config applies.

      Parameters

      • opts: { cwd?: string; explicit?: string; noAuto?: boolean }

      Returns { auto: boolean; path: string } | undefined