diff --git a/README.md b/README.md
index 03096594c..086db9424 100644
--- a/README.md
+++ b/README.md
@@ -1,10 +1,10 @@
-# RSCG - 247 Examples of Roslyn Source Code Generators / 16 created by Microsoft /
+# RSCG - 248 Examples of Roslyn Source Code Generators / 16 created by Microsoft /
-The RSCG_Examples repository is a comprehensive documentation system that automatically processes and showcases 247 Roslyn Source Code Generator (RSCG) examples. The system transforms individual RSCG projects into structured documentation with code examples and cross-referenced content with a searchable website and code example exports.
+The RSCG_Examples repository is a comprehensive documentation system that automatically processes and showcases 248 Roslyn Source Code Generator (RSCG) examples. The system transforms individual RSCG projects into structured documentation with code examples and cross-referenced content with a searchable website and code example exports.
This system serves as both a learning resource for .NET developers interested in source generators and an automated pipeline for maintaining up-to-date documentation about the RSCG ecosystem
-## Latest Update : 2025-12-14 => 14 December 2025
+## Latest Update : 2025-12-15 => 15 December 2025
If you want to see examples with code, please click ***[List V2](https://ignatandrei.github.io/RSCG_Examples/v2/docs/List-of-RSCG)***
@@ -24,8 +24,32 @@ If you want to be notified each time I add a new RSCG example , please click htt
## Content
-Those are the 247 Roslyn Source Code Generators that I have tested you can see and download source code example.
+Those are the 248 Roslyn Source Code Generators that I have tested you can see and download source code example.
( including 16 from Microsoft )
+### 248. [docopt.net](https://ignatandrei.github.io/RSCG_Examples/v2/docs/docopt.net) , in the [CommandLine](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#commandline) category
+
+Generated on : 2025-12-15 => 15 December 2025
+
+
+ Expand
+
+
+
+Author: Atif Aziz
+
+docopt.net is the .net version of the docopt python beautiful command line parser. docopt.net helps you define an interface for your command-line app, and automatically generate a parser for it. docopt.net is based on conventions that have been used for decades in help messages and man pages for program interface description. Interface description in docopt.net is such a help message, but formalized. Check out http://docopt.org for a more detailed explanation.
+ Quick example: var arguments = new DocOpt().Apply("Usage: prog [-a] [-b] FILE", args); if (arguments["-a"].IsTrue) { ... }
+ }
+
+Nuget: [https://www.nuget.org/packages/docopt.net/](https://www.nuget.org/packages/docopt.net/)
+
+
+Link: [https://ignatandrei.github.io/RSCG_Examples/v2/docs/docopt.net](https://ignatandrei.github.io/RSCG_Examples/v2/docs/docopt.net)
+
+Source: [https://github.com/docopt/docopt.net](https://github.com/docopt/docopt.net)
+
+
+
### 247. [BlazorOcticons](https://ignatandrei.github.io/RSCG_Examples/v2/docs/BlazorOcticons) , in the [Blazor](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#blazor) category
Generated on : 2025-12-14 => 14 December 2025
diff --git a/later.md b/later.md
index c222c618b..08dde32dd 100644
--- a/later.md
+++ b/later.md
@@ -1,6 +1,6 @@
# Just later
-## Latest Update : 2025-12-14 => 14 December 2025
+## Latest Update : 2025-12-15 => 15 December 2025
diff --git a/v2/.tours/docopt.net.tour b/v2/.tours/docopt.net.tour
new file mode 100644
index 000000000..2eb4ce531
--- /dev/null
+++ b/v2/.tours/docopt.net.tour
@@ -0,0 +1,36 @@
+
+{
+ "$schema": "https://aka.ms/codetour-schema",
+ "title": "docopt.net",
+ "steps":
+ [
+ {
+ "file": "rscg_examples/docopt.net/src/ConsoleArgs/ConsoleArgs.csproj",
+ "description": "First, we add Nuget [docopt.net](https://www.nuget.org/packages/docopt.net/) in csproj ",
+ "pattern": "docopt.net"
+ }
+
+ ,{
+ "file": "rscg_examples/docopt.net/src/ConsoleArgs/Program.docopt.txt",
+ "description": "File Program.docopt.txt ",
+ "pattern": "this is the code"
+ }
+
+ ,{
+ "file": "rscg_examples/docopt.net/src/ConsoleArgs/Program.cs",
+ "description": "File Program.cs \r\n>> dotnet run --project rscg_examples/docopt.net/src/ConsoleArgs/ConsoleArgs.csproj ",
+ "pattern": "this is the code"
+ }
+
+
+ ,{
+ "file": "rscg_examples/docopt.net/src/ConsoleArgs/obj/GX/DocoptNet/DocoptNet.CodeGeneration.SourceGenerator/ConsoleArgs.ProgramArguments.cs",
+ "description": "Generated File 1 from 1 : ConsoleArgs.ProgramArguments.cs ",
+ "line": 1
+ }
+
+ ],
+
+ "ref": "main"
+
+}
\ No newline at end of file
diff --git a/v2/Generator/all.csv b/v2/Generator/all.csv
index ac974e579..3cf20b6aa 100644
--- a/v2/Generator/all.csv
+++ b/v2/Generator/all.csv
@@ -246,3 +246,4 @@ Nr,Key,Source,Category
245,Monify, https://github.com/MooVC/monify,PrimitiveObsession
246,Imposter, https://github.com/themidnightgospel/Imposter,Tests
247,BlazorOcticons, https://github.com/BlazorOcticons/BlazorOcticons,Blazor
+248,docopt.net, https://github.com/docopt/docopt.net,CommandLine
diff --git a/v2/RSCGExamplesData/GeneratorDataRec.json b/v2/RSCGExamplesData/GeneratorDataRec.json
index cfe827716..51ef09651 100644
--- a/v2/RSCGExamplesData/GeneratorDataRec.json
+++ b/v2/RSCGExamplesData/GeneratorDataRec.json
@@ -1497,5 +1497,11 @@
"Category": 21,
"dtStart": "2025-12-14T00:00:00",
"show": true
+ },
+ {
+ "ID": "docopt.net",
+ "Category": 32,
+ "dtStart": "2025-12-15T00:00:00",
+ "show": true
}
]
\ No newline at end of file
diff --git a/v2/book/examples/docopt.net.html b/v2/book/examples/docopt.net.html
new file mode 100644
index 000000000..4a453aa24
--- /dev/null
+++ b/v2/book/examples/docopt.net.html
@@ -0,0 +1,59 @@
+
+
+
+https://ignatandrei.github.io/RSCG_Examples/v2/docs/docopt.net
+
+
+
diff --git a/v2/rscg_examples_site/docs/RSCG-Examples/index.md b/v2/rscg_examples_site/docs/RSCG-Examples/index.md
index 709a948f7..f2cbe063e 100644
--- a/v2/rscg_examples_site/docs/RSCG-Examples/index.md
+++ b/v2/rscg_examples_site/docs/RSCG-Examples/index.md
@@ -1,7 +1,7 @@
---
sidebar_position: 30
-title: 247 RSCG list by category
-description: 247 RSCG list by category
+title: 248 RSCG list by category
+description: 248 RSCG list by category
slug: /rscg-examples
---
@@ -275,7 +275,7 @@ import DocCardList from '@theme/DocCardList';
## CommandLine
- Expand CommandLine =>examples:4
+ Expand CommandLine =>examples:5
@@ -296,6 +296,11 @@ import DocCardList from '@theme/DocCardList';
[TeCLI](/docs/TeCLI)
+
+
+
+[docopt.net](/docs/docopt.net)
+
@@ -1633,6 +1638,8 @@ flowchart LR;
CommandLine--> TeCLI((TeCLI))
+ CommandLine--> docopt.net((docopt.net))
+
Console--> Figgle((Figgle))
Constructor--> AutoDeconstruct((AutoDeconstruct))
diff --git a/v2/rscg_examples_site/docs/about.md b/v2/rscg_examples_site/docs/about.md
index ef04c8f99..d726a9f9f 100644
--- a/v2/rscg_examples_site/docs/about.md
+++ b/v2/rscg_examples_site/docs/about.md
@@ -6,7 +6,7 @@ title: About
## Content
You will find here code examples
-of 247 Roslyn Source Code Generator (RSCG)
+of 248 Roslyn Source Code Generator (RSCG)
that can be useful for you. That means, you will write more elegant and concise code - even if the generators code is not always nice to look.
## Are those examples ready for production?
diff --git a/v2/rscg_examples_site/docs/indexRSCG.md b/v2/rscg_examples_site/docs/indexRSCG.md
index 49b6d38b0..cef5064aa 100644
--- a/v2/rscg_examples_site/docs/indexRSCG.md
+++ b/v2/rscg_examples_site/docs/indexRSCG.md
@@ -7,9 +7,9 @@ slug: /List-of-RSCG
import useBaseUrl from '@docusaurus/useBaseUrl';
-## 247 RSCG with examples in descending chronological order
+## 248 RSCG with examples in descending chronological order
-This is the list of 247 ( 16 from Microsoft) RSCG with examples
+This is the list of 248 ( 16 from Microsoft) RSCG with examples
[See by category](/docs/rscg-examples) [See as json](/exports/RSCG.json) [See as Excel](/exports/RSCG.xlsx)
@@ -20,6 +20,7 @@ This is the list of 247 ( 16 from Microsoft) RSCG with examples
| No | Name | Date | Category |
| --------- | ----- | ---- | -------- |
+|248| [docopt.net by Atif Aziz ](/docs/docopt.net)|2025-12-15 => 15 December 2025 | [CommandLine](/docs/Categories/CommandLine) |
|247| [BlazorOcticons by Evgeniy K. ](/docs/BlazorOcticons)|2025-12-14 => 14 December 2025 | [Blazor](/docs/Categories/Blazor) |
|246| [Imposter by Bitchiko Tchelidze ](/docs/Imposter)|2025-12-13 => 13 December 2025 | [Tests](/docs/Categories/Tests) |
|245| [Monify by Paul Martin ](/docs/Monify)|2025-12-12 => 12 December 2025 | [PrimitiveObsession](/docs/Categories/PrimitiveObsession) |
diff --git a/v2/rscg_examples_site/src/components/HomepageFeatures/index.js b/v2/rscg_examples_site/src/components/HomepageFeatures/index.js
index d29ed013a..66d934d0c 100644
--- a/v2/rscg_examples_site/src/components/HomepageFeatures/index.js
+++ b/v2/rscg_examples_site/src/components/HomepageFeatures/index.js
@@ -4,7 +4,7 @@ import styles from './styles.module.css';
const FeatureList = [
{
-title: '247 Examples (16 from MSFT)',
+title: '248 Examples (16 from MSFT)',
Svg: require('@site/static/img/undraw_docusaurus_mountain.svg').default,
description: (
<>
diff --git a/v2/rscg_examples_site/static/exports/RSCG.json b/v2/rscg_examples_site/static/exports/RSCG.json
index 5f31664e4..2dd135043 100644
--- a/v2/rscg_examples_site/static/exports/RSCG.json
+++ b/v2/rscg_examples_site/static/exports/RSCG.json
@@ -1977,6 +1977,14 @@
"Source": "https://github.com/BlazorOcticons/BlazorOcticons",
"Category": "Blazor",
"AddedOn": "2025-12-14T00:00:00"
+ },
+ {
+ "Name": "docopt.net",
+ "Link": "https://ignatandrei.github.io/RSCG_Examples/v2/docs/docopt.net",
+ "NuGet": "https://www.nuget.org/packages/docopt.net/",
+ "Source": "https://github.com/docopt/docopt.net",
+ "Category": "CommandLine",
+ "AddedOn": "2025-12-15T00:00:00"
}
]
}
\ No newline at end of file
diff --git a/v2/rscg_examples_site/static/exports/RSCG.xlsx b/v2/rscg_examples_site/static/exports/RSCG.xlsx
index dc69d0581..db1cc9f21 100644
Binary files a/v2/rscg_examples_site/static/exports/RSCG.xlsx and b/v2/rscg_examples_site/static/exports/RSCG.xlsx differ
diff --git a/v2/rscg_examples_site/static/sources/docopt.net.zip b/v2/rscg_examples_site/static/sources/docopt.net.zip
new file mode 100644
index 000000000..2ed8134ef
Binary files /dev/null and b/v2/rscg_examples_site/static/sources/docopt.net.zip differ