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

Suggestion: make this tool System.CommandLine friendly #252

Open
iSeiryu opened this issue Jan 3, 2023 · 3 comments
Open

Suggestion: make this tool System.CommandLine friendly #252

iSeiryu opened this issue Jan 3, 2023 · 3 comments

Comments

@iSeiryu
Copy link

iSeiryu commented Jan 3, 2023

Microsoft created their own package to build CLI tools:
https://github.com/dotnet/command-line-api
https://learn.microsoft.com/en-us/dotnet/standard/commandline/get-started-tutorial

Would it make sense to build Sharprompt on top of their package?

@shibayan
Copy link
Owner

shibayan commented Jan 4, 2023

The CommandLine API has a different purpose to begin with. While it provides the ability to parse command line arguments, Sharprompt provides an interactive UI.

@iSeiryu
Copy link
Author

iSeiryu commented Jan 4, 2023

Could this package use their arguments parser/binder instead? They support sub-commands arguments and flags.

@shibayan
Copy link
Owner

shibayan commented Jan 5, 2023

It has a completely different purpose than the Commandline API.

Therefore, Sharprompt will not support them, but they can be used at the same time.

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