command
module
Version:
v1.4.5
Opens a new window with list of versions in this module.
Published: Jul 23, 2020
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
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
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.