tldr

command module
v1.4.8 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2020 License: MIT Imports: 2 Imported by: 0

README

TLDR

build test Release Downloads Last Commit License


Synopsis

Go implementation of a cli for https://github.com/tldr-pages/tldr

Usage

run tldr {command} in a terminal where {command} is a standard cli command (e.g. tldr curl)

Features

  • Caches to .tldr by downloading a zip from https://github.com/tldr-pages/tldr
  • Outputs color coded output to stdout
  • Detects OS for loading appropriate syntax and examples
  • Help and argument parsing implemented via kingpin (https://github.com/alecthomas/kingpin)
  • Allows override of the platform via the --platform argument
  • Allows for fetching a random page via the --random argument

Installation

Homebrew (MacOS and LinuxBrew)

Tap the cask:

brew tap eiladin/homebrew-tldr

Install tldr:

brew install eiladin/homebrew-tldr/tldr

Note: there is a name-conflict on tldr so the full cask name must be used for install

Uninstall tldr:

brew uninstall tldr

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal
pipe
Package pipe provides generic erros for pipes to use.
Package pipe provides generic erros for pipes to use.
zip
pkg

Jump to

Keyboard shortcuts

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