Skip to content

Commit aa53be0

Browse files
committed
- Command name: fc → fcc (no more bash conflicts!)
- Package ID: ancp.fc → ancp.fcc - Directory: tools/ancp/fc → tools/ancp/fcc - Test directory: tests/fc.tests → tests/fcc.tests - Namespace: FcTool → FccTool - All project references updated
1 parent 4604c96 commit aa53be0

File tree

8 files changed

+26
-619
lines changed

8 files changed

+26
-619
lines changed

README.md

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
Two cross-platform .NET tools for text and code cleanup:
77

88
- **f**: Count words in text files (txt/md/docx) with optional comment stripping
9-
- **fc**: Strip C# comments and regions in place (Roslyn-based)
9+
- **fcc**: Strip C# comments and regions in place (Roslyn-based)
1010

1111
## Prerequisites
1212

@@ -15,10 +15,13 @@ Two cross-platform .NET tools for text and code cleanup:
1515
## Installation
1616

1717
```bash
18-
# Option 1
19-
./scripts/install_tools.sh
18+
# From NuGet (recommended)
19+
dotnet tool install -g ancp
20+
dotnet tool install -g ancp.fcc
2021

21-
# Option 2
22+
# From source
23+
./scripts/install_tools.sh
24+
# OR
2225
make install
2326
```
2427

@@ -32,18 +35,18 @@ f --unique path/to/file.docx # Count unique words
3235
f --strip path/to/README.md # Strip comments before output
3336
```
3437

35-
### fc - C# Comment Stripper
38+
### fcc - C# Comment Stripper
3639

3740
```bash
38-
fc path/to/File.cs # Process single file
39-
fc path/to/Folder # Process folder recursively
41+
fcc path/to/File.cs # Process single file
42+
fcc path/to/Folder # Process folder recursively
4043
```
4144

4245
## Uninstall
4346

4447
```bash
4548
dotnet tool uninstall --global ancp
46-
dotnet tool uninstall --global ancp.fc
49+
dotnet tool uninstall --global ancp.fcc
4750
```
4851

4952
## License

ancpdevkit.sln

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "f", "f", "{3AA5AF39-EEC4-28
77
EndProject
88
Project("{F2A71F9B-5D33-465A-A702-920D77279786}") = "f", "tools\ancp\f\f.fsproj", "{82DDEBF2-139A-43A5-B47F-D98827F29B7F}"
99
EndProject
10-
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "fc", "fc", "{08E67C62-4D79-79AE-2379-561D96047594}"
10+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "fcc", "fcc", "{08E67C62-4D79-79AE-2379-561D96047594}"
1111
EndProject
12-
Project("{F2A71F9B-5D33-465A-A702-920D77279786}") = "fc", "tools\ancp\fc\fc.fsproj", "{BEFD39FF-17E0-4602-823B-9FF210A56E7A}"
12+
Project("{F2A71F9B-5D33-465A-A702-920D77279786}") = "fcc", "tools\ancp\fcc\fcc.fsproj", "{BEFD39FF-17E0-4602-823B-9FF210A56E7A}"
1313
EndProject
1414
Project("{F2A71F9B-5D33-465A-A702-920D77279786}") = "f.tests", "tests\f.tests\f.tests.fsproj", "{AFB5AB7D-8C34-4D2B-B698-D9B5D5F3A1CE}"
1515
EndProject
16-
Project("{F2A71F9B-5D33-465A-A702-920D77279786}") = "fc.tests", "tests\fc.tests\fc.tests.fsproj", "{A017183F-5970-48EA-A2E3-8F93FC9168AB}"
16+
Project("{F2A71F9B-5D33-465A-A702-920D77279786}") = "fcc.tests", "tests\fcc.tests\fcc.tests.fsproj", "{A017183F-5970-48EA-A2E3-8F93FC9168AB}"
1717
EndProject
1818
Global
1919
GlobalSection(SolutionConfigurationPlatforms) = preSolution

tests/fc.tests/FcToolTests.fs

Lines changed: 0 additions & 279 deletions
This file was deleted.

tests/fc.tests/fc.tests.fsproj

Lines changed: 0 additions & 22 deletions
This file was deleted.

0 commit comments

Comments
 (0)