Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jiripospisil/drtl
Yet another tldr client written in Zig
https://github.com/jiripospisil/drtl
tldr tldr-client zig ziglang
Last synced: 11 days ago
JSON representation
Yet another tldr client written in Zig
- Host: GitHub
- URL: https://github.com/jiripospisil/drtl
- Owner: jiripospisil
- License: mit
- Created: 2023-06-20T21:11:19.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-07-23T12:42:10.000Z (4 months ago)
- Last Synced: 2024-07-23T19:34:24.646Z (4 months ago)
- Topics: tldr, tldr-client, zig, ziglang
- Language: Zig
- Homepage:
- Size: 1.67 MB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# drtl
Yet another [tldr](https://github.com/tldr-pages/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.## Installation
```
# On Arch Linux
paru -Sy drtl-bin
```You can also just use the [prebuilt binaries](https://github.com/jiripospisil/drtl/releases) or build it yourself.
## Usage
```
Usage: drtlPrints 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](https://ziglang.org/) `0.11.0-dev.3726+8fcc28d30`.
```
./update_pages.bash # Optionally update tldr pages
zig build
```## License
MIT