Skip to content

Conversation

@BillWagner
Copy link
Member

Fixes #594

In both IssueCloser and Sequester, I also converted the apps to use top level statements.

In the future, we could modify the grammar of both Snippets5000 and Sequester to make the combination of options and arguments more clear.

IssueCloser uses System.CommandLine, and uses top-level statements.
Replace DragonFruit with System.CommandLine.

I chose not to convert the Program class to top-level statements because of the number of private static members in this class.
Replace DragonFruit with System.CommandLine.

While here, convert the main program to top level statements.
Copy link
Contributor

@adegeo adegeo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@BillWagner BillWagner merged commit 47c60c1 into dotnet:main Dec 19, 2025
8 of 9 checks passed
@BillWagner BillWagner deleted the use-system-commandline branch December 19, 2025 18:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[General] Replace DragonFruit with System.CommandLine

3 participants