Skip to content

feat: Migrate CLI to use System.Commandline#3162

Open
filzrev wants to merge 4 commits into
dotnet:masterfrom
filzrev:feat-migrate-system-commandline
Open

feat: Migrate CLI to use System.Commandline#3162
filzrev wants to merge 4 commits into
dotnet:masterfrom
filzrev:feat-migrate-system-commandline

Conversation

@filzrev
Copy link
Copy Markdown
Contributor

@filzrev filzrev commented Jun 1, 2026

This PR migrate CLI library from CommandLineParser to System.CommandLine.

Code changes are based on PR #3014 (by @abdulrahmanhossam)

What's changed in this PR

  • Resolve conflicts when rebased to latest master.
  • Add/Remove options based on latest master.
  • Cleanup CommandLineOptions code (Reorder property definitions for future maintenance)
  • Add some test cases

Co-Authored-By: abdulrahman hossam <ahossam.tech@gmail.com>
@filzrev filzrev force-pushed the feat-migrate-system-commandline branch from ad14246 to 54e0fc8 Compare June 1, 2026 05:25
@filzrev filzrev force-pushed the feat-migrate-system-commandline branch from 54e0fc8 to 2490829 Compare June 1, 2026 05:39
@filzrev filzrev changed the title feat: Migrate CLI to System.Commandline feat: Migrate CLI to use System.Commandline Jun 1, 2026
@adamsitnik
Copy link
Copy Markdown
Member

I wonder if we should use this as an opportunity to consider redesigning the existing command line arguments.

What we have as of today is literally two commands (run benchmarks or display info) and the benchmarking command has way too many options/arguments (I am the one to blame for that). Moreover, it certain things are impossible to configure with command line.

@filzrev filzrev mentioned this pull request Jun 2, 2026
@filzrev filzrev force-pushed the feat-migrate-system-commandline branch from 80da43c to 03fa8bb Compare June 2, 2026 05:34
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.

2 participants