dotfiles/config/.scripts/cloc-git
2024-09-05 19:14:30 -04:00

6 lines
201 B
Bash
Executable File

#!/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