mcpwn API
    Preparing search index...

    Function resolveConfig

    • Resolve + load the config for a CLI invocation. Returns the parsed config (if any), the SharedArgs seed it produces, and a notice string to print once a logger exists. Exits 2 (via the supplied fail) on a malformed config.

      Parameters

      • argv: string[]
      • fail: (msg: string) => never

      Returns { config?: McpwnConfig; notice?: string; seed: SharedArgs }