Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/phoenixr-codes/wi

Linguist wrapper for the terminal
https://github.com/phoenixr-codes/wi

console git informative nu nushell repo repository script terminal utility

Last synced: about 1 month ago
JSON representation

Linguist wrapper for the terminal

Lists

README

        

# wi

`wi` is a wrapper around [linguist][] that pretty prints the languages used
in a git repository to the terminal similar to how it's shown on GitHub. To
use this script [`github-linguist`][linguist] must be installed.

![Preview](./preview.png)

## Installation

Download the `wi` file from this repository and put it in `/usr/local/bin/`
(or similar).

## Usage

```text
Usage:
> wi (path)

Flags:
-h, --help - Display the help message for this command

Parameters:
path : The path to the git repository (optional, default: '.')

Input/output types:
╭───┬─────────┬─────────╮
│ # │ input │ output │
├───┼─────────┼─────────┤
│ 0 │ nothing │ nothing │
╰───┴─────────┴─────────╯
```

> [!TIP]
> Use `github-linguist -j | from json` to work with the data by yourself.

> [!TIP]
> `wi` stands for "written in".

[linguist]: https://github.com/github-linguist/linguist