Git Product home page Git Product logo

wat's Introduction

wat - wat are this?

Video of a dog being held to various items, captioned with the question: 'wat are this?'. Image based on Jenna Marble's work featuring Kermit the dog.

wat helps you find out what all the things in your Linux system are. You can ask it for information on:

  • executables
  • services
  • bash built-ins
  • packages
  • files and folders (based on wat-pages)

To find out what something is, simply pass the name to wat:

> wat zeitgeist

zeitgeist (package): Zeitgeist is a service which logs the user's activities and 
events (files opened, websites visited, conversations held with other people, etc.) 
and makes the relevant information available to other applications.

> wat /var/spool

/var/spool (directory): This directory contains data which is awaiting some kind of later processing. Data 
in /var/spool represents work to be done in the future (by a program, user, or 
administrator); often data is deleted after it has been processed.

Installation

wat requires Python 3.10. wat runs on most Linux distributions and can be used with MacOS, however with a limited feature set for now.

From PyPi

pip3 install wat-terminal

From repository

  1. Install requirements: pip install -r requirements.txt
  2. Install wat as a command line tool: python3 setup.py install

Usage

usage: wat [-h] [--version] [--update] [--skip-empty-result] [name ...]

positional arguments:
  name                 name of the thing to lookup

options:
  -h, --help           show this help message and exit
  --version            show program's version number and exit
  --update, -u         update the page sources
  --skip-empty-result  if there is no result, don't print anything

Acknowledgments!

The inital repository structure is based on navdeep-G/samplemod.

The implementation internally uses the Python-client of tldr.

wat's People

Contributors

codezeilen avatar

Stargazers

 avatar

Watchers

 avatar

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.