Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/yanskun/gh-langs

Get a list of languages ​​used by the target account. GitHub CLI Extensions
https://github.com/yanskun/gh-langs

gh-extension language

Last synced: 15 days ago
JSON representation

Get a list of languages ​​used by the target account. GitHub CLI Extensions

Awesome Lists containing this project

README

        

# gh-langs
GitHub CLI commands extension.

Outputs the number of lines for each language in the target account.

## Install
```shell
gh extension install yanskun/gh-langs
```

## Usage
```shell
# login user
gh langs
# arg
gh langs octocat
+------------+---------+
| LANGUAGE | LINES |
+------------+---------+
| Ruby | 204,865 |
| CSS | 14,950 |
| HTML | 4,338 |
| Shell | 910 |
| JavaScript | 48 |
+------------+---------+
https:github.com/octocat has 8 repositories
Last updated after 2023-05-04
```

### Options
```
-f, --filter float a float used to filter results (default 1)
```

```shell
gh langs octocat -f 0.5
+------------+---------+
| LANGUAGE | LINES |
+------------+---------+
| Ruby | 204,865 |
| CSS | 14,950 |
| HTML | 4,338 |
| Shell | 910 |
| JavaScript | 48 |
+------------+---------+
https:github.com/octocat has 8 repositories
Last updated after 2023-11-02
```