ancp.fcc 0.4.0

dotnet tool install --global ancp.fcc --version 0.4.0
                    
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
                    
if you are setting up this repo
dotnet tool install --local ancp.fcc --version 0.4.0
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=ancp.fcc&version=0.4.0
                    
nuke :add-package ancp.fcc --version 0.4.0
                    

.NET 8.0/9.0 License codecov

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
  • fcc: Strip C# comments and regions in place (Roslyn-based)

Prerequisites

  • .NET SDK 8.0+ or 9.0

Installation

# From NuGet (recommended)
dotnet tool install -g ancp
dotnet tool install -g ancp.fcc

# From source
./scripts/install_tools.sh
# OR
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

fcc - C# Comment Stripper

fcc path/to/File.cs              # Process single file
fcc path/to/Folder               # Process folder recursively

Uninstall

dotnet tool uninstall --global ancp
dotnet tool uninstall --global ancp.fcc

License

This project is licensed under the MIT License.

Product 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.

Version Downloads Last Updated
0.4.0 142 9/4/2025