Skip to content
This repository has been archived by the owner on Sep 26, 2021. It is now read-only.
/ tldr Public archive

Go client for rprieto/tldr, with static binary downloads

License

Notifications You must be signed in to change notification settings

pranavraja/tldr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

A work-in-progress Go client for tldr.

Setup

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.

Prerequisites

If you installed using go get, make sure $GOPATH/bin is in your $PATH.

Usage

tldr <command>

Fetch the docs for command and render them to the terminal.

Hacking

Once you have cloned the repo, build using go build, run the tests using go test.

TODO (contributions welcome)

  • 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

About

Go client for rprieto/tldr, with static binary downloads

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages