macOS / binaries /

uttype

/usr/bin/uttype
Information about uniform type identifiers

This command can be used to query the system programmatically about Uniform Type Identifiers (UTTypes for short) known to it.

source: man