TL;DR
Easily create and manage TL;DR pages to help users find their way around your project. These pages are designed to supplement, not replace, richer documentation, and should act as a quick reference manual for common tasks.
See an example here.
Installation
yarn add --dev @packit/tldr
npm install --dev @packit/tldr
npx tldr init!
Additionally, you can optionally create {{topic}}.md
files in docs/tldr
.
These topics can be displayed by running npx tldr {{topic}}
. See usage for more.
Usage
yarn users can replace npx
with yarn
, if desired.
npx tldr
npx tldr {{topic}}
npx tldr {{topic1}} {{topic2}} {{topic3}}
npx tldr "*"
npx tldr "build*"
npx tldr jest?
npx tldr "*" | grep "pattern" -A 1 -B 1
Meta Commands
All meta commands are suffixed with !
.
npx tldr init!
npx tldr list!
Options
npx tldr --root /some/path/here
Prior Art
Inspired by https://tldr.sh