command [OPTION] <command-name>
-a or --all
: prints all COMMAND found in PATH
(including program, function and builtit), in the order which they're found.
-q or --query
: return true if COMMAND existed, return false otherwise.
-v or -s or --search
: prints the path to the program, not the function or builtit.