The relevant link is here (https://github.com/fish-shell/fish-shell/blob/master/share/t...)
ridiculous_fish, we still use `complete` all over the place for completions don't we. In Fisherman there is a nice little AWK script, still far from perfect that attempts to do a similar thing, parsing a utility's usage help.
usage: utility [...]
-s --short Short option ...