Skip to content

Commit 8423c2a

Browse files
committed
Init Version
1 parent a216429 commit 8423c2a

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Diff for: clocgithub.py

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import subprocess
2+
import sys
3+
url = sys.argv[1]
4+
subprocess.run(["mkdir", ".clocOnGitHubtmp"])
5+
subprocess.run(["git", "clone", url, ".clocOnGitHubtmp"])
6+
subprocess.run(["cloc", ".clocOnGitHubtmp"])
7+
subprocess.run(["rm", "-rf", ".clocOnGitHubtmp"])

0 commit comments

Comments
 (0)