Giter Site home page Giter Site logo

tldr-sharp's Introduction

tldr-sharp

A C# based, feature-rich command-line client for tldr-pages.

tldr screenshot

Requirements

  • .NET Runtime 6.0 (or newer). Download it from here.

Installation

Linux

Ubuntu/Debian

Install the latest Debian package.

Fedora

tldr-sharp is available in COPR

sudo dnf copr enable principis/tldr-sharp
sudo dnf --refresh install tldr-sharp

Manual

Download and extract the latest release.

mkdir tldr-sharp
tar xzf <version>.tar.gz -C tldr-sharp
sudo chown -R root:root tldr-sharp
sudo cp -pr tldr-sharp /usr/local/lib/
sudo ln -s /usr/local/lib/tldr-sharp/tldr-sharp /usr/local/bin/tldr-sharp

Windows

Note: Your antivirus may detect tldr-sharp as a virus.

It is recommended to use the new Windows Terminal, so the highlighting works as expected.

Installer

Download and run the installer.

Manual installation

  • Download the latest release
  • Extract to a folder of choice, for example C:\ProgramData\tldr-sharp
  • Copy tldr-sharp.exe to tldr.exe
  • Add it to the path
    • Open Control Panel (old style)
    • On the System page, click Advanced system settings on the left-hand side
    • In the dialog window, click on the Environment Variables button
    • In User variables select Path and click Edit
    • In the popup, click New and add the path where you've installed tldr-sharp as follows: C:\ProgramData\tldr-sharp
  • Reboot to make sure the Path is updated

You can now use tldr-sharp by entering tldr tar in your favorite shell.

Usage

Usage: tldr command [options]
Simplified and community-driven man pages
  -a, --list-all             List all pages
  -c, --clear-cache          Clear the local cache
  -f, --render=VALUE         Render a specific markdown file
  -h, --help                 Display this help text
  -l, --list                 List all pages for the current platform and
                               language
      --list-platforms       List all platforms
      --list-languages       List all languages
  -L, --language, --lang=VALUE
                             Specifies the preferred language
  -m, --markdown             Show the markdown source of a page
  -p, --platform=VALUE       Override the default platform
  -s, --search=VALUE         Search for a string
  -u, --update               Update the local cache
      --self-update          Check for tldr-sharp updates
  -v, --version              Show version information

License

  • This project is licensed under GPL-3.0-or-later.
  • Some configuration and scripts are licensed under CC0-1.0.

For more accurate information, check the individual files.

Contributing

Contributions are always welcome! Please open an issue first.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.