tlrc

release license downloads

A tldr client written in Rust.

screenshot

Installation

Packaging status

From GitHub Releases

You can find prebuilt binaries here.

Usage

See the tldr client specification or run: tldr --help

Configuration

Tlrc can be customized with a TOML configuration file. To get the default path for your system, run: tldr --config-path To generate a default config file, run: tldr --gen-config or copy the below example.

Configuration options

```toml [cache]

Override the cache directory.

dir = "/home/v/.cache/tlrc"

Automatically update the cache when it is if it is older than max_age hours.

autoupdate = true maxage = 336

A list of languages to download. If it is empty, all languages are downloaded.

You can see a list of language codes here: https://github.com/tldr-pages/tldr

Example: ["en", "de", "pl"]

languages = []

[output]

Show the command name in the page.

show_title = true

Strip newlines from output.

compact = false

Print pages in raw markdown.

raw_markdown = false

[style.title]

Fixed colors: "black", "red", "green", "yellow", "blue", "magenta", "cyan", "white", "default"

256color ANSI code: { color256 = 50 }

RGB: { rgb = [0, 255, 255] }

color = "magenta" bold = true underline = false italic = false

[style.description] color = "magenta" bold = false underline = false italic = false

[style.bullet] color = "green" bold = false underline = false italic = false

[style.example] color = "cyan" bold = false underline = false italic = false ```