complete [options] prefix
options:
-b | --builtins
-f | --files
-p | --packages
-s | --subs
List the command completions of prefix.
Examples:
complete se # => set server
complete -p Tie::H # => Tie::Hash (probably)
complete -s Tie::Hash::n
# => Tie::Hash::new