SeeSharpRun.FileCounter
1.1.1
dotnet tool install --global SeeSharpRun.FileCounter --version 1.1.1
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
dotnet tool install --local SeeSharpRun.FileCounter --version 1.1.1
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=SeeSharpRun.FileCounter&version=1.1.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package SeeSharpRun.FileCounter --version 1.1.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
File Counter
A .NET command-line tool for counting files and lines of code in a directory. This tool recursively scans directories, counts all files, and calculates the total number of lines in each file, presenting the results in a formatted table.
The .git directory is automatically excluded from scanning.
Arguments
| Short | Long | Description | Default |
|---|---|---|---|
| --path | Directory to scan for files (required) | ||
| -h | --help | Renders help metadata |
Prerequisites
Dynamically run package
Run the tool directly without installation using dnx:
dnx SeeSharpRun.FileCounter --path "<directory>"
Install package
Install the tool globally on your machine:
dotnet tool install --global SeeSharpRun.FileCounter
After installation, run using dotnet tool run:
dotnet tool run SeeSharpRun.FileCounter --path "<directory>"
Or use the shorter command alias:
filecounter --path "<directory>"
Run in dev
For development and testing, run directly from source:
dotnet run --project src/tool/SeeSharpRun.FileCounter.Tool.csproj -- --path "<directory>"
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.1.1 | 283 | 11/13/2025 |