Skip to content

Commit

Permalink
docker examples: add . as the directory to count #882
Browse files Browse the repository at this point in the history
  • Loading branch information
AlDanial committed Jan 23, 2025
1 parent 3f7257f commit bf6b7a4
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -263,13 +263,17 @@ New releases nominally appear every six months.

<a name="Docker"></a> []({{{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
Expand Down

0 comments on commit bf6b7a4

Please sign in to comment.