dbrgn / tealdeer

A very fast implementation of tldr in Rust.
https://dbrgn.github.io/tealdeer/
Apache License 2.0
4.06k stars 123 forks source link

Add "random" command to fetch random tldr page #341

Closed MustCodeAl closed 10 months ago

MustCodeAl commented 11 months ago

Added a new --random command that allows users to get a random page from tldr(tldr --random). Logic for picking a random page were implemented in the Cache class. The rand crate was also included to handle random selection of pages. This new feature gives users a way to discover new commands they may not be aware of.

niklasmohrin commented 10 months ago

See #340