Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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/)