Caching SHOULD be done according to the user's language configuration (if any), as to not waste unneeded space for unneeded languages. Additionally, clients MAY automatically update the cache on a regular basis.
-d option is confusing and not really necessary. Whole tldr's archive (with all the platforms and languages) is just 1.13 MB. It also has to be downloaded to update the cache anyway, so there's no point in nit-picking the pages.
Closes #40. Closes #84.
According to the client spec:
-d
option is confusing and not really necessary. Whole tldr's archive (with all the platforms and languages) is just 1.13 MB. It also has to be downloaded to update the cache anyway, so there's no point in nit-picking the pages.This is also how node and C clients do it.