+
Skip to content

hisaitami/tldr-bb-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tldr-bb-client

A TLDR pages client written in Babashka

tldr screenshot

Getting Started

Prerequisites

Babashka, Fast native Clojure scripting runtime.

On macOS:

brew install borkdude/brew/babashka

Installation

Copy this command tldr.clj to a directory in your path. (~/bin, /usr/local/bin or somewhere)

chmod 755 tldr.clj
cp tldr.clj /usr/local/bin
tldr.clj

Usage

usage: tldr.clj [OPTION]... PAGE

available commands:
  -h, --help                print this help and exit
  -p, --platform PLATFORM   select platform, supported are linux / osx / sunos / windows / common
  -u, --update              update local database
  -v, --version             print version and exit
  -c, --clear-cache         clear local database
  -V, --verbose             display verbose output
  -l, --list                list all entries in the local database
      --random              display a random command

Examples:

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

To control the cache:

tldr.clj --update
tldr.clj --clear-cache

Referenced projects

  • tldr - Simplified and community-driven man pages
  • tldr-c-client - C command-line client for tldr pages
  • tldr-node-client - Node.js command-line client for tldr pages
  • tldr-php - PHP Client for tldr
  • tldr-planck - A planck (ClojureScript) based command-line client for TLDR pages

License

Copyright (c) 2025 hisaitami

Distributed under the terms of the MIT License

About

A TLDR pages client written in Babashka

Resources

License

Stars

Watchers

Forks

Packages

No packages published
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载