Skip to content

Latest commit

 

History

History
48 lines (43 loc) · 964 Bytes

README.md

File metadata and controls

48 lines (43 loc) · 964 Bytes

gh-langs

GitHub CLI commands extension.

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

Install

gh extension install yanskun/gh-langs

Usage

# 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)
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