A work-in-progress Go client for tldr.
If you have Go installed, grab the latest version:
go get github.com/pranavraja/tldr
Binary releases for common platforms are available under Releases. These work without Go installed.
If you installed using go get
, make sure $GOPATH/bin
is in your $PATH
.
tldr <command>
Fetch the docs for command
and render them to the terminal.
Once you have cloned the repo, build using go build
, run the tests using go test
.
- Improve rendering of command placeholders, like in
sed 's/a/b/' {{filename}}
- Caching of commands
- Add a command-line flag to override the platform (currently only "common" is supported)
- Improve multi-line command rendering