Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/litianqi1996/tldr-cli
tldr-clint build with golang
https://github.com/litianqi1996/tldr-cli
tldr tldr-client
Last synced: 4 months ago
JSON representation
tldr-clint build with golang
- Host: GitHub
- URL: https://github.com/litianqi1996/tldr-cli
- Owner: litianqi1996
- License: mit
- Created: 2020-04-16T08:34:02.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2022-08-01T03:16:24.000Z (over 2 years ago)
- Last Synced: 2024-07-30T20:54:22.586Z (6 months ago)
- Topics: tldr, tldr-client
- Language: Go
- Homepage:
- Size: 29.3 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# tldr-cli
[![Go Report Card](https://goreportcard.com/badge/github.com/litianqi1996/tldr-cli)](https://goreportcard.com/report/github.com/litianqi1996/tldr-cli)
[Tldr](https://github.com/tldr-pages/tldr) client for golang
## Installation
OS X & Linux:
```bash
brew install litianqi1996/taps/tldr
```## Usage example
```
tldr [command]
tldr -u/--update //update tldr pages from gitrepo
tldr -c/--clean //clean tldr local repo
```## Configure
```bash
$HOME/.tldrtmp/tldr.yaml
``````bash
# set tldr-pages by yourself
gitrepo: https://github.com/tldr-pages/tldr# set language, default "" means english.
# languagse: "de", "es", "fr", "hbs", "it", "ja", "ko", "pt_BR", "pt_PT", "ta", "zh"
language: ""# no need to pay attention
updatetime: 1588094105
```## Built With
- [fatih/color](https://github.com/fatih/color)
- [go-git](https://github.com/src-d/go-git)
- [goreleaser](https://goreleaser.com/)
- [figlet](http://www.figlet.org/)