All right, I'm aware about how to provide a custom completion function to a command. And I also know this options can be printed out in a shell session by double hit tab after write that command.
I'm now looking for a way to list the completion options of a given command via bash script. I mean some command that do the same behavior of tap tab twice
Is it possible?