Skip to content
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

Library of predefined CliCommands #2434

Open
PonchoPowers opened this issue May 31, 2024 · 2 comments
Open

Library of predefined CliCommands #2434

PonchoPowers opened this issue May 31, 2024 · 2 comments

Comments

@PonchoPowers
Copy link

It would be nice to have a library of CliCommands that are maintained as a project within itself so that each developer doesn't have to come a long and write up all the boilerplate code each time they want to parse a command line.

A bit like types for TypeScript, the cli commands would then be used to parse commands for well-known command line tools such as Node.js.

Node.js has a comprehensive set of options, and to fully parse a Node.js command would take a mammoth amount of work, but it isn't just Node.js, there are many other libraries where it would take a long time to write all the code required to properly understand the command.

I am not proposing we do this as part of the command-line-api project, I am proposing another project that can be used alongside this that will provide some useful definitions for developers.

@elgonzo
Copy link
Contributor

elgonzo commented May 31, 2024

While i am not associated nor involved with the S:CL project, i very much doubt that such would be within the scope of what the S:CL maintainers try to achieve. What you are looking for is in my opinion a typical example of where its up to the (wider) .NET community to create, maintain and share such packages (regardless of which particular commandline parser being used).

@PonchoPowers
Copy link
Author

Thanks, I figured as much, but wanted to throw it out there in the hope that someone starts a project as such. If this gets little interest I might start one myself.

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

No branches or pull requests

2 participants