tldr-client

command module
v0.0.0-...-a92000e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 13, 2014 License: Apache-2.0 Imports: 10 Imported by: 0

README

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

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL