Doesn't bash already do something vaguely similar though? I noticed it can complete flags and options now. zsh has been capable of this for a long time too.
It doesn't convert between long and short options or sort arguments but it does help you by offering the completion which means less typing and slightly less memorization.