Skip to content

ANcpLua/ancpdevkit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Two cross-platform .NET tools for text and code cleanup - word counter and C# comment stripper

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published