Crates.io | dev-radars |
lib.rs | dev-radars |
version | 0.1.2 |
source | src |
created_at | 2024-02-21 10:50:09.533877 |
updated_at | 2024-02-23 09:14:14.076491 |
description | Render a radar plot of your tech stack and print LOC statistics. |
homepage | https://github.com/Manuel030/dev-radars |
repository | https://github.com/Manuel030/dev-radars |
max_upload_size | |
id | 1147869 |
size | 123,732 |
Render a radar plot of your tech stack and print LOC statistics. dev-radars
parses git objects to compute statistics per technology.
+-----------+------+
| Language | LOC |
+-----------+------+
| Rust | 3637 |
+-----------+------+
| Python | 2615 |
+-----------+------+
| SQLPL | 1802 |
+-----------+------+
| Kotlin | 1531 |
+-----------+------+
| Elm | 560 |
+-----------+------+
| Nix | 382 |
+-----------+------+
| Batchfile | 89 |
+-----------+------+
| Java | 66
dev-radars
is something between running Aloc in a Docker container and executing random commands from the internet:
git ls-files | xargs -n1 git blame --line-porcelain | sed -n 's/^author //p' | sort -f | uniq -ic | sort -nr
Using cargo:
cargo install dev-radars
Usage: dev-radars [OPTIONS]
Options:
-p, --path <PATH> Which path(s) to search
-d, --depth <DEPTH> Depth of child directories to traverse
-a, --author <AUTHOR>...
-t, --top-n <TOP_N> [default: 10]
-h, --help Print help
-V, --version Print version
Parse a directory only up to a depth of 2
dev-radars -p /home/manuel/projects -d 2
When collecting the LOC, search for both author names foo
and bar
dev-radars -p /home/manuel/projects -a "foo" -a "bar"