dotfiles/.scripts/cloc-git

6 lines
201 B
Plaintext
Raw Normal View History

2024-07-03 20:44:47 +01:00
#!/usr/bin/env bash
git clone --depth 1 "$1" temp-linecount-repo &&
printf "('temp-linecount-repo' will be deleted automatically)\n\n\n" &&
cloc temp-linecount-repo &&
rm -rf temp-linecount-repo