-
Notifications
You must be signed in to change notification settings - Fork 386
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
Is this project dead? #2285
Comments
The |
Which examples are those? The example in Tutorial: Get started with System.CommandLine compiles OK against System.CommandLine 2.0.0-beta4.22272.1, which is the most recent nuget.org release. (However, the first three options under "Test the app" do not work. The first option and the third option do not work because the shell searches for the |
I stand corrected. I was looking at the examples on the main branch. The examples do work for the released package version. |
The whole dotnet-suggest cli tab completion feature seems like it's gotta happen, though I'd prefer it in a low ceremony attribute based source-generated version. |
The productization of this repo is currently designed at dotnet/runtime repo (dotnet/runtime#84177). |
Please post in this repo if more System.CommandLine issues are filed in https://github.com/dotnet/runtime/, so that prerelease users can subscribe to individual issues there rather than watch the whole repo. |
@huoyaoyuan Are you talking about |
No. I'm even unaware of such a library. The linked issue (dotnet/runtime#84177) is discussing API in
There is no code there currently, but only some issues for API review, tagged in
See #1882. In short, There are already pull requests tweaking namespace and type names like #2167. |
Following myself; I'm trying to advocate to use this library but the lack of a real release is a barrier for me at my employer. |
Agreed - I would much rather have had real releases at 0.1.0, 0.2.0, etc, indicating volatile API but as actual releases. That API then gets locked down going towards 1.0.0 (whether it stays here or becomes part of the main runtime) makes perfect sense. But it's hard to drive adoption with "scary" beta versions, which also means you're not getting feedback from a good chunk of developer's who can't try the current version in real-world scenarios. |
Agreed with the above. The other thing that makes this difficult is the lack of communication around an ETA. We have been dying to use this library in https://github.com/Azure/bicep for over 2 years. For this duration, this project has felt like it's "almost ready", so we built our own super basic solution, and didn't put energy into investigating alternatives (because "we'll be able to switch soon"). In retrospect, if we knew we'd be waiting for this long, we'd have just picked an alternative and moved on. It's hard to know that we won't be waiting another 2 years at this point. |
See my project here: DotMake.CommandLine is a library which provides declarative syntax for System.CommandLine via attributes for easy, fast, strongly-typed (no reflection) usage. The library includes includes a source generator which automagically converts your classes to CLI commands and properties to CLI options or CLI arguments. Supports trimming and AOT compilation ! |
Now that .NET 8 is out, can some time be given to this API? If not, I guess using |
I believe |
You are right. It's strange that |
Hoping they find time to improve System.Commandline, but other options include (in no particular order): |
This project is actively being worked on; see #2338 |
Another advanced alternative: https://github.com/Cysharp/ConsoleAppFramework |
Is this project dead? There has only ever been beta prereleases and the last such was nearly a year and half ago. The examples don't compile against the most recent nuget.org release. I want to be excited about a project backed by the .Net Foundation, but this project seems like an idea that was never followed through on. . Is there any intent to make progress, or should I look at another option such as
CommandLineParser
?The text was updated successfully, but these errors were encountered: