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