ancp 0.2.0
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet tool install --global ancp --version 0.2.0
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
dotnet tool install --local ancp --version 0.2.0
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=ancp&version=0.2.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package ancp --version 0.2.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
ANCP Devkit
Two cross-platform .NET tools for text and code cleanup:
- f: Count words in text files (txt/md/docx) with optional comment stripping
- fc: Strip C# comments and regions in place (Roslyn-based)
Prerequisites
- .NET SDK 8.0+ or 9.0
Installation
# Option 1
./scripts/install_tools.sh
# Option 2
make install
Usage
f - Word Counter
f path/to/file.txt # Count total words
f --unique path/to/file.docx # Count unique words
f --strip path/to/README.md # Strip comments before output
fc - C# Comment Stripper
fc path/to/File.cs # Process single file
fc path/to/Folder # Process folder recursively
Uninstall
dotnet tool uninstall --global ancp
dotnet tool uninstall --global ancp.fc
License
This project is licensed under the MIT License.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. 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.