Thanks to visit codestin.com
Credit goes to github.com

Skip to content

vasilescur/lear

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lear

Mistyped clear? Enjoy King Lear instead.

lear is a joke CLI in the tradition of sl (steam locomotive for mistyping ls). When you accidentally type lear instead of clear, your terminal spits out the text of Shakespeare's King Lear.

Press Ctrl+C to exit (you quitter).

Install

Homebrew

brew tap vasilescur/tap
brew install lear

Or in one line:

brew install vasilescur/tap/lear

pip

pip install git+https://github.com/vasilescur/lear.git

Usage

usage: lear [-h] [-v] [-d MS] [-m MS] [-f PATH]

Mistyped 'clear'? Enjoy King Lear instead.

options:
  -h, --help             show this help message and exit
  -v, --version          show program's version number and exit
  -d MS, --delay MS      base per-character delay in ms (default: 15)
  -m MS, --max-delay MS  maximum per-character delay in ms (default: 100)
  -f PATH, --file PATH   path to a custom text file to stream (default: King Lear)

Stream your own text file instead of King Lear:

lear -f ~/my_text.txt

Star History

You could help make this line go up!

Star History Chart

License

MIT