printer: deduplicate hyperlink alias names

This exports a new `HyperlinkAlias` type in the `grep-printer` crate.
This includes a "display priority" with each alias and a function for
getting all supported aliases from the crate.

This should hopefully make it possible for downstream users of this
crate to include a list of supported aliases in the documentation.

Closes #3103
This commit is contained in:
Lucas Trzesniewski
2025-07-16 21:53:43 +02:00
committed by Andrew Gallant
parent fdfda9ae73
commit 66aa4a63bb
5 changed files with 202 additions and 104 deletions

File diff suppressed because it is too large Load Diff