-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Recommendation for Command Line Parser #4312
Comments
Do we need managed or unmanaged or both? For managed code, DNX has one that is used in several utilities.
And it generates output like this:
And:
|
The above mentioned command line utility is what is currently being used. |
The corefxlab one does not use reflection, so [edit: might be] better for AOT |
Hmm does the DNX one use reflection? I haven't dug into the code a whole lot but I didn't see any usage. Might have missed it. |
The DNX one doesn't use reflection either. |
+1 for System.CommandLine; It's a lot like DNX's CommandLineUtils, but better in my opinion. 😈 |
System.CommandLine is already being used in dotnet-compile* -- I think it's worked pretty well. I hit issues with DNX command line since it's currently source-only and it also ties execution semantics of the program to command line parsing (i.e., app.Execute(args)). |
@bricelam SCANDAL! TRAITOR! HEATHEN! Nah, sounds good to me :). Let's move to System.CommandLine |
@krwq can you pick this up next? |
It seems we've been transitioning to System.CommandLine. Should we just get everything switched over and remove the DNX parser? |
Yes and fix the bugs in system.commandline |
@davidfowl anything specific? |
Might just be a bug in run right now but you can't flow arguments to the application. i.e.
|
Now that dotnet is going to use System.CommandLine, is it safe to assume that System.CommandLine will make it to corefx repository? |
Guys, since we have started using the System.CommandLine, I will close this issue. Please reopen if needed. /cc @piotrpMSFT |
Can someone make a recommendation on what CLI parser to use? some options:
The text was updated successfully, but these errors were encountered: