8000 GitHub - porras/tlcr at 0.1.1
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Apr 11, 2024. It is now read-only.
/ tlcr Public archive

Simple terminal-based client for TLDR pages, written in Crystal. TLDR pages is a collection of simplified and community-driven man pages.

License

Notifications You must be signed in to change notification settings

porras/tlcr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TLCR Build Status

tlcr is a simple terminal-based client for TLDR pages, written in Crystal.

TLDR pages is a collection of simplified and community-driven man pages.

TLCR

Features

  • Simple CLI
  • Colorized Markdown rendering in the terminal
  • Local file based cache
  • Bash completion
  • No dependencies

Installation

TODO: Simple installation instructions will follow soon. For the time being, see Development.

Usage

Usage: tlcr [options] [command]
-u, --update                     Force update (default: cache for 30 days)
-h, --help                       Show this help

Bash completion

After having tlcr installed, add this to your .bashrc:

eval "$(tlcr --completion)"

Development

You need Crystal 0.10.0 installed (it might work with older or newer versions, but that's the one that's tested).

After checking out the repo (or decompressing the tarball with the source code), run shards to get the development dependencies, and run crystal build tlcr.cr (crystal build --release tlcr.cr if you intend to install it for real use). The tlcr binary generated in the directory can be copied anywhere in your $PATH.

Contributing

  1. Fork it ( https://github.com/porras/tlcr/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

  • porras Sergio Gil - creator, maintainer

About

Simple terminal-based client for TLDR pages, written in Crystal. TLDR pages is a collection of simplified and community-driven man pages.

Resources

License

Stars

Watchers

Forks

Packages

No packages published
0