From bf6b7a410b4d4625ac3f7dc7489063ca04743719 Mon Sep 17 00:00:00 2001 From: AlDanial Date: Wed, 22 Jan 2025 21:22:59 -0800 Subject: [PATCH] docker examples: add . as the directory to count #882 --- README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7b981f37..bcb1f4ab 100644 --- a/README.md +++ b/README.md @@ -263,13 +263,17 @@ New releases nominally appear every six months. []({{{1) ## Run via docker + +These docker commands count lines of code in and below +the current directory: + ```shell -docker run --rm -v $PWD:/tmp aldanial/cloc +docker run --rm -v $PWD:/tmp aldanial/cloc . ``` ### Run via docker on git-bash ```shell -docker run --rm -v "/$(pwd -W)":/tmp aldanial/cloc +docker run --rm -v "/$(pwd -W)":/tmp aldanial/cloc . ``` ## Install via package manager