cli: suggest the closest enum value on a typo
A misspelt value for an enum-typed flag now names the nearest tag as did_you_mean. --dump's peeking validator treats a word within two edits of a format name as that mistake rather than as the url, so --dump htmx no longer becomes a second url. tagNames moves from Config into cli so both can use it.
A
Adrià Arrufat committed
a32d30fa65867efed4eee4506eceaa7d129a474c
Parent: 88d133a