Skip to content

A planck (ClojureScript) based command-line client for TLDR pages

License

Notifications You must be signed in to change notification settings

hisaitami/tldr-planck

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tldr-planck

A TLDR pages client written in Planck (Stand-alone ClojureScript REPL)

tldr screenshot

Requirement

Planck, a stand-alone ClojureScript REPL for macOS and Linux based on JavaScriptCore.

On macOS:

brew install planck

Usage

usage: tldr.cljs [-v] [OPTION]... SEARCH

available commands:
  -v                       false   print verbose output
      --version                    print version and exit
  -h, --help                       print this help and exit
  -u, --update                     update local database
  -c, --clear-cache                clear local database
  -l, --list                       list all entries in the local database
  -p, --platform PLATFORM  common  select platform, supported are linux / osx / sunos / windows
      --linux                      show command page for Linux
      --osx                        show command page for OSX
      --sunos                      show command page for SunOS
      --windows                    show command page for Windows
  -r, --render PATH                render a local page for testing purposes
      --random                     show a random command

Examples:

tldr.cljs tar
tldr.cljs du --platform=osx
tldr.cljs --list
tldr.cljs --random

To display pages in the specified language (such as ja, pt_BR, or fr):

LANG=ja tldr.cljs less
LANG=fr tldr.cljs --random -p osx

To control the cache:

tldr.cljs --update
tldr.cljs --clear-cache

To render a local file (for testing):

tldr.cljs --render /path/to/file.md

Referenced projects

License

Copyright (c) 2023 hisaitami

Distributed under the terms of the MIT License

About

A planck (ClojureScript) based command-line client for TLDR pages

Topics

Resources

License

Stars

Watchers

Forks

Packages