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: 3 months ago
JSON representation
Linguist wrapper for the terminal
- Host: GitHub
- URL: https://github.com/phoenixr-codes/wi
- Owner: phoenixr-codes
- License: unlicense
- Created: 2024-05-16T20:56:52.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-05-16T22:54:02.000Z (9 months ago)
- Last Synced: 2024-08-02T10:27:31.684Z (6 months ago)
- Topics: console, git, informative, nu, nushell, repo, repository, script, terminal, utility
- Language: Nushell
- Homepage:
- Size: 82 KB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
- awesome-nu - wi
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 commandParameters:
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