jiripospisil / drtl

Yet another tldr client written in Zig

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

drtl

Yet another tldr client. Written mostly as an exercise to try Zig. The client doesn't maintain a local database of tldr pages but rather embeds all of them in the binary.

image

Installation

# On Arch Linux
paru -Sy drtl-bin

You can also just use the prebuilt binaries or build it yourself.

Usage

Usage: drtl <name>

Prints tldr page for the given name.

Pages are split into several categories (android, common, linux, osx, sunos, and windows). If
you want a page for a specific category, use "category/name".

Options:
 -h, --help        print this help
 -v, --version     print version
 -l, --list        list all pages

Building from Source

Tested with Zig 0.11.0-dev.3726+8fcc28d30.

./update_pages.bash # Optionally update tldr pages
zig build

License

MIT

About

Yet another tldr client written in Zig

License:MIT License


Languages

Language:Zig 96.0%Language:Shell 4.0%