@oss-autopilot/core - v3.7.0
    Preparing search index...

    Function suggestKey

    • Find the closest known key for a typo, limited to keys accepted by the given CLI surface. Returns undefined when no key is close enough (threshold ≤2 edits, case-insensitive) — better to say nothing than suggest a wild guess.

      Parameters

      • key: string
      • surface: "config" | "setup"

      Returns string | undefined