ancp.fc 0.3.0

Suggested Alternatives

ancp.fcc

Additional Details

the fc command was taken

The owner has unlisted this package. This could mean that the package is deprecated, has security vulnerabilities or shouldn't be used anymore.
dotnet tool install --global ancp.fc --version 0.3.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.fc --version 0.3.0
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=ancp.fc&version=0.3.0
                    
nuke :add-package ancp.fc --version 0.3.0
                    

.NET 8.0/9.0 License

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