This is already implemented, modern bash offers completion and suggestions, which look exactly like shown (text only though) when you press Tab.
This includes parameters, flags (with documentation), context (eg files in current directory).
Autocomplete is available for most commands on modern Linux installations.