Is there a way to fetch the output that bash input autocompletion will display when pressing "TAB" + "TAB" in a terminal?
I want to write a node script which will display these suggestions for a specific string. It might be a part of a command, a command with already provided options etc.