Refreshes priv/extract/tlds.txt from
data.iana.org.
The TLD list is bundled in source control; this task exists to make refreshes reproducible and audited. The list is small (~1,440 lines, ~10 KB) and changes a few times per year as IANA adds or sunsets TLDs.
After running, Text.Extract.Tld (and the regex baked into
Text.Extract.Scanner) automatically picks up the new list at next
compile.
Usage
mix text.download_tldsOptions
--force— overwrite even when the on-disk file is up-to-date by version line. Default: only writes if the upstream is different.--diff— print a unified diff between current and upstream without writing.