compgen is a useful command, and fish is an excellent command shell. But I cannot find an equivalent in fish.
I write one by myself:
function compgen --description 'Print a list of documented fish commands' bash -c "compgen $argv" end
But I think it better to use the native one if any.