Skip to content

gabrielPeart/tldr-cpp-client

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tldr c client

A C command line client for tldr

Build Status

Installing

On OS X, the client can be installed through homebrew.

brew tap tldr-pages/tldr

# To install the latest stable release
brew install tldr

# To install latest development version
brew install tldr --HEAD

To build the latest version from source:

if [[ "`uname`" == "Darwin"  ]]; then brew install curl libzip pkg-config; fi
if [[ "`uname`" == "Linux" ]]; then apt-get install libcurl4-openssl-dev libzip-dev pkg-config; fi
git clone https://github.com/tldr-pages/tldr-cpp-client.git tldr-c-client
cd tldr-c-client/src
make
make install

The default prefix for installation is /usr/local/bin.

Building

Building the tldr client is pretty straightforward.

Requirements

  • clang/gcc
  • libcurl (brew install curl / apt-get install libcurl-dev / apt-get install libcurl4-openssl-dev)
  • libzip (brew install libzip / apt-get install libzip-dev)
  • pkg-config (brew install pkg-config / apt-get install pkg-config)

Compiling

The Makefile in the src directory has all you need for builing the project.

cd src
make

Usage

usage: tldr [-v] [--version] [--help] [--update] <search>

available commands:
    --version    print version and exit
    --help       print help and exit
    --update     update local database

About

Command line client in C for BSD, OS X, Linux

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 95.9%
  • Makefile 4.1%