-
-
Notifications
You must be signed in to change notification settings - Fork 6
Add TeCLI RSCG example and update documentation #426
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
ignatandrei
merged 1 commit into
main
from
419-httpsgithubcomtyevcotecliissues14event-21057085915
Nov 28, 2025
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,66 @@ | ||
|
|
||
| { | ||
| "$schema": "https://aka.ms/codetour-schema", | ||
| "title": "TeCLI", | ||
| "steps": | ||
| [ | ||
| { | ||
| "file": "rscg_examples/TeCLI/src/ConsoleDemo/ConsoleDemo.csproj", | ||
| "description": "First, we add Nuget [TeCLI](https://www.nuget.org/packages/TeCLI/) in csproj ", | ||
| "pattern": "TeCLI" | ||
| } | ||
|
|
||
| ,{ | ||
| "file": "rscg_examples/TeCLI/src/ConsoleDemo/CmdForSum.cs", | ||
| "description": "File CmdForSum.cs ", | ||
| "pattern": "this is the code" | ||
| } | ||
|
|
||
| ,{ | ||
| "file": "rscg_examples/TeCLI/src/ConsoleDemo/Program.cs", | ||
| "description": "File Program.cs \r\n>> dotnet run --project rscg_examples/TeCLI/src/ConsoleDemo/ConsoleDemo.csproj ", | ||
| "pattern": "this is the code" | ||
| } | ||
|
|
||
|
|
||
| ,{ | ||
| "file": "rscg_examples/TeCLI/src/ConsoleDemo/obj/GX/TeCLI.Extensions.DependencyInjection/TeCLI.Extensions.DependencyInjection.Generators.DependencyInjectionInvokerGenerator/CommandDispatcher.Registrations.cs", | ||
| "description": "Generated File 6 from 6 : CommandDispatcher.Registrations.cs ", | ||
| "line": 1 | ||
| } | ||
|
|
||
| ,{ | ||
| "file": "rscg_examples/TeCLI/src/ConsoleDemo/obj/GX/TeCLI.Extensions.DependencyInjection/TeCLI.Extensions.DependencyInjection.Generators.DependencyInjectionInvokerGenerator/CommandDispatcher.Invoker.cs", | ||
| "description": "Generated File 5 from 6 : CommandDispatcher.Invoker.cs ", | ||
| "line": 1 | ||
| } | ||
|
|
||
| ,{ | ||
| "file": "rscg_examples/TeCLI/src/ConsoleDemo/obj/GX/TeCLI/TeCLI.Generators.CommandLineArgsGenerator/CommandDispatcher.Documentation.cs", | ||
| "description": "Generated File 4 from 6 : CommandDispatcher.Documentation.cs ", | ||
| "line": 1 | ||
| } | ||
|
|
||
| ,{ | ||
| "file": "rscg_examples/TeCLI/src/ConsoleDemo/obj/GX/TeCLI/TeCLI.Generators.CommandLineArgsGenerator/CommandDispatcher.cs", | ||
| "description": "Generated File 3 from 6 : CommandDispatcher.cs ", | ||
| "line": 1 | ||
| } | ||
|
|
||
| ,{ | ||
| "file": "rscg_examples/TeCLI/src/ConsoleDemo/obj/GX/TeCLI/TeCLI.Generators.CommandLineArgsGenerator/CommandDispatcher.Command.CmdForSum.Documentation.cs", | ||
| "description": "Generated File 2 from 6 : CommandDispatcher.Command.CmdForSum.Documentation.cs ", | ||
| "line": 1 | ||
| } | ||
|
|
||
| ,{ | ||
| "file": "rscg_examples/TeCLI/src/ConsoleDemo/obj/GX/TeCLI/TeCLI.Generators.CommandLineArgsGenerator/CommandDispatcher.Command.CmdForSum.cs", | ||
| "description": "Generated File 1 from 6 : CommandDispatcher.Command.CmdForSum.cs ", | ||
| "line": 1 | ||
| } | ||
|
|
||
| ], | ||
|
|
||
| "ref": "main" | ||
|
|
||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,84 @@ | ||
|
|
||
| <h1>RSCG nr 238 : TeCLI</h1> | ||
|
|
||
| <h2>Info</h2> | ||
| Nuget : <a href="https://www.nuget.org/packages/TeCLI/" target="_blank">https://www.nuget.org/packages/TeCLI/</a> | ||
|
|
||
| <p>You can find more details at : <a href="https://github.com/tyevco/TeCLI" target="_blank"> https://github.com/tyevco/TeCLI</a></p> | ||
|
|
||
| <p>Author :Tyler Coles</p> | ||
|
|
||
| <p>Source: <a href="https://github.com/tyevco/TeCLI" target="_blank">https://github.com/tyevco/TeCLI</a> </p> | ||
|
|
||
| <h2>About</h2> | ||
|
|
||
| Parse Command line arguments | ||
|
|
||
| <h2> | ||
| How to use | ||
| </h2> | ||
| <h3> | ||
| Add reference to the <a href="https://www.nuget.org/packages/TeCLI/" target="_blank">TeCLI</a> in the csproj | ||
| </h3> | ||
| <img src="images/TeCLI/ConsoleDemo.csproj.png" width="580" height="580" /> | ||
|
|
||
| <h3>This was for me the <b>starting</b> code</h3> | ||
|
|
||
| <br /> | ||
| I have <b>coded</b> the file Program.cs | ||
| <br /> | ||
| <img src="images/TeCLI/csFiles/Program.cs.png" width="580" height="580" /> | ||
| <hr /> | ||
|
|
||
| <br /> | ||
| I have <b>coded</b> the file CmdForSum.cs | ||
| <br /> | ||
| <img src="images/TeCLI/csFiles/CmdForSum.cs.png" width="580" height="580" /> | ||
| <hr /> | ||
| <h3>And here are the <i>generated</i> files</h3> | ||
|
|
||
| <br /> | ||
| The file <i>generated</i> is CommandDispatcher.Command.CmdForSum.cs | ||
| <br /> | ||
| <img src="images/TeCLI/generated/CommandDispatcher.Command.CmdForSum.cs.png" width="580" height="580" /> | ||
|
|
||
| <br /> | ||
| The file <i>generated</i> is CommandDispatcher.Command.CmdForSum.Documentation.cs | ||
| <br /> | ||
| <img src="images/TeCLI/generated/CommandDispatcher.Command.CmdForSum.Documentation.cs.png" width="580" height="580" /> | ||
|
|
||
| <br /> | ||
| The file <i>generated</i> is CommandDispatcher.cs | ||
| <br /> | ||
| <img src="images/TeCLI/generated/CommandDispatcher.cs.png" width="580" height="580" /> | ||
|
|
||
| <br /> | ||
| The file <i>generated</i> is CommandDispatcher.Documentation.cs | ||
| <br /> | ||
| <img src="images/TeCLI/generated/CommandDispatcher.Documentation.cs.png" width="580" height="580" /> | ||
|
|
||
| <br /> | ||
| The file <i>generated</i> is CommandDispatcher.Invoker.cs | ||
| <br /> | ||
| <img src="images/TeCLI/generated/CommandDispatcher.Invoker.cs.png" width="580" height="580" /> | ||
|
|
||
| <br /> | ||
| The file <i>generated</i> is CommandDispatcher.Registrations.cs | ||
| <br /> | ||
| <img src="images/TeCLI/generated/CommandDispatcher.Registrations.cs.png" width="580" height="580" /> | ||
|
|
||
| <p> | ||
| You can download the code and this page as pdf from | ||
| <a target="_blank" href='https://ignatandrei.github.io/RSCG_Examples/v2/docs/TeCLI'> | ||
| https://ignatandrei.github.io/RSCG_Examples/v2/docs/TeCLI | ||
| </a> | ||
| </p> | ||
|
|
||
|
|
||
| <p> | ||
| You can see the whole list at | ||
| <a target="_blank" href='https://ignatandrei.github.io/RSCG_Examples/v2/docs/List-of-RSCG'> | ||
| https://ignatandrei.github.io/RSCG_Examples/v2/docs/List-of-RSCG | ||
| </a> | ||
| </p> | ||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| { | ||
| "generator":{ | ||
| "name":"TeCLI", | ||
| "nuget":[ | ||
| "https://www.nuget.org/packages/TeCLI/" | ||
| ], | ||
| "link":"https://github.com/tyevco/TeCLI", | ||
| "author":"Tyler Coles", | ||
| "source":"https://github.com/tyevco/TeCLI" | ||
| }, | ||
| "data":{ | ||
| "goodFor":["Parse Command line arguments "], | ||
| "csprojDemo":"ConsoleDemo.csproj", | ||
| "csFiles":["Program.cs","CmdForSum.cs"], | ||
| "excludeDirectoryGenerated":[""], | ||
| "includeAdditionalFiles":[""] | ||
| }, | ||
| "links":{ | ||
| "blog":"", | ||
| "video":"" | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| C# CLI source generator tool |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
🏁 Script executed:
Repository: ignatandrei/RSCG_Examples
Length of output: 580
🏁 Script executed:
Repository: ignatandrei/RSCG_Examples
Length of output: 1928
🏁 Script executed:
Repository: ignatandrei/RSCG_Examples
Length of output: 645
🏁 Script executed:
Repository: ignatandrei/RSCG_Examples
Length of output: 1737
Tour file contains broken file references and missing patterns
The tour references files at incorrect paths and uses patterns that don't exist in the source code:
File paths missing
v2/prefix: Tour referencesrscg_examples/TeCLI/src/ConsoleDemo/...but files are located atv2/rscg_examples/TeCLI/src/ConsoleDemo/.... CodeTour won't locate these files.Missing patterns:
"this is the code"does not exist inCmdForSum.csorProgram.cs. These files contain actual C# code, not this placeholder text."TeCLI"does exist inConsoleDemo.csproj(in PackageReference lines), so that one is valid.Generated files don't exist: The tour references multiple generated files under
obj/GX/directories, but these don't exist in the repository (generated files are typically build artifacts excluded from version control).Fix required: Update all file paths to include
v2/prefix, replace the placeholder patterns with actual code snippets that exist in the files, or remove references to non-existent generated files.🤖 Prompt for AI Agents